Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
Problem while appling defferent css class for Header,OddRows and EvenRows
posted

Hi,

I have tried to apply different css classes for UltraWebGrid Header,OddRows and EvenRows.

Following is the code used :

UltraWebGrid1.DisplayLayout.HeaderStyleDefault.CssClass = "cssHeader";

UltraWebGrid1.DisplayLayout.RowStyleDefault.CssClass = "cssOddRow";

UltraWbGrid1.DisplayLayout.RowAlternateStyleDefault.CssClass = "cssEvenRow";

It works for header but for rows it takes by default "cssOddRow" class for all row.

If you comment the cssOddRow line then it takes cssHeader class for Header as well as OddRow.it works fine for even row in this case.

Any Idea ?

Thanks,

Raju

Parents
No Data
Reply
  • 40
    posted

     Yes, I have the same problem when I upgraded from Infragistics 6.3 to 8.1 CLR35. If you change the "browser" property to "XML" it should fix it. I think it has to do with the way the control get renders.

     Anyone able to shed some light with this issue?

Children