We are looking to put ASP.NET WebForms V7.4.2923 into our production app. Our current set-up (V7.2.2786) uses CssOnly=False and BeforeCellRenderArgs to add a class name using e.CssClass="classname" based on various conditions.
This is our code:
' is this a business cell or not
If e.IsBusiness = False Then
' this is not a business hours
e.CssClass = "nonBusiness"
Else
' this is business hours
e.CssClass = "Business"
End If
The problem is that the class name is no longer added to the cell but previously was. If we switch to CssOnly="True" then the class name IS now added. I found a similar issue for MVC which said that this was fixed in WebForms but this does not seem to be the case.
Surely the CSS class should be added when set using e.CssClass="XXXXX"?