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
205
UltraWebGrid CSS and CSSClass is not working.
posted

 After upgradding from6.3 to 7.x and now 8.1 clr 3.5 The CSS Classes we had set on the Grids no longer work for new grids.

 If I leave an old version grid on the page the CSS items that are set in the grids properties for ( row, alt row, selected row, etc..) all work fine.

But the new version of the grids in both version 7.x and 8.1 do not work.

I have tried setting the properties manually and have received a sample from Infragistics with a video indicating that it works for them but I have

15 developers that the same code sent to me will not work for them

Ive tried setting ti manually like so

        UltraWebGrid1.DisplayLayout.OptimizeCSSClassNamesOutput = Infragistics.WebUI.Shared.DefaultableBoolean.True

and false on the above line 

        UltraWebGrid1.DisplayLayout.RowStyleDefault.CssClass = "CSSRow"
        UltraWebGrid1.DisplayLayout.HeaderStyleDefault.CssClass = "CSSHeader"

 

What Gives? Why does Infragistics have to break things that work in previous versions

Larry 

 

Parents
  • 205
    posted

    Ok I figured out what it was - BY LUCK.

    Not sure why the Support rep did not say anything about this but

     When you draw a grid on the page and you want to use your own style sheet items

     Make sure that the DisplayLayout -> RowStyleDefault-> Back Color

    Is not set to Window

    If it is, it overrides your stylesheet.

    Great, just great.

    Good Luck All

Reply Children
No Data