I am trying to make the colors different for every line, so lets say one line white and the next light grey. I tried it in the gridview using
but it has no effect on the display! The lines are all white! Only formatting to work is the header formatting. Who can help?
For CSS, I have<RowStyle CssClass="gridRow" />
<HeaderStyle CssClass="gridHeaderSort" />
<AlternatingRowStyle CssClass="gridAlternateRow" />
background-color: #DCDCDC; /*LightGrey*/
I tried with every option - without any effect. Visual Studio 2005, IE6. No change in the preview, no change when running. I tried with a font option for the row - this one is evaluated. I tried setting it programmatically - no change.
View Complete Post