I have setup a grid with separate css classes for Row, AlternateRow and Header. In these i set different background colors. I am finding that the header color is being overridden by the row color. Why would this be and how can i get around it? I have tried setting the OptimizeCSSClassNamesOutput value to false in the code as mentioned in the knowledgebase, but no change in behaviour.
Surely the header should not inherit the row style or should at least override this value.
Simon
Hello,
1. In what order are the Row, AlternateRow and Header styles in your .css file ?
2. Maybe these articles will help you
http://forums.archive.infragistics.com/readmessage?id=%3C6a29922e$54d9aac9$5caf8@news.infragistics.com%3E&group=infragistics.products.netadvantage.aspnet.webgrid#%3C6a29922e$54d9aac9$5caf8@news.infragistics.com%3E
http://forums.archive.infragistics.com/readmessage?id=%3C4fe416f$59b393f2$c6bd9@news.infragistics.com%3E&group=infragistics.products.netadvantage.aspnet.webgrid#%3C4fe416f$59b393f2$c6bd9@news.infragistics.com%3E
http://help.infragistics.com/Help/NetAdvantage/NET/2007.2/CLR2.0/html/WebGrid_Breaking_Changes_in_WebGrid.html