I added the following to my stylesheet
..altgridrow {
color: white;
}
and then referenced it in properties for
AlternateRowSty le.CssClass=alt gridrow
apparently, since the column data contains a link it regards the
content as <atag and does not use the row style settings.
it might require iterating over the rows and setting the alternating
ones when the page loads or something like that.
I'd love to hear a easier method though :)
On Jan 25, 9:39 am, "Eliyahu Goldin"
<REMOVEALLCAPIT ALSeEgGoldD...@ mMvVpPsS.orgwro te:
Did you try AlternatingRowS tyle.CssClass?
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net
<m...@5starserv .comwrote in messagenews:11* *************** *****@l53g2000c wa.googlegroups .com...
how can I change the font color for an alternating row where the
column data is formatted as a link?
setting a style in the stylesheet for
a {
color:white;
}
makes all links white (as expected)
and changing the ForeColor property in the AlternatingRowS tyle options
does not effect the <atag in the data column - it still shows up
blue. Placing additional formatting for the column will not help since
it will apply to all data in the column and not just the alternating
rows.
Mike- Hide quoted text -- Show quoted text -