Recentrly I upgraded from v6.3 to v8.2
Until now, I was working fine, but since the migration something strange is happening:
I have many different controls in a masterpage and a webpage in it. Most of the controls have css classes defined. When the page is loaded, styles are applyed correctly, yet when an async postback is executed, all styles are lost.
Can someone help me?
I believe the following post contains the answer to this issue, as well as an explanation of why it occurs:http://forums.infragistics.com/forums/p/29454/130832.aspx#130832
I'm sorry, but that post does not apply to our problem (although it's interesting). We are already using css classes, but our problem is that as soon as an async postback is made, all those css settings are lost.
Here's an example:
I have an Infragistics UltraWebMenu in a Master Page, I want the items to have a certain style. I use a class for this, called "menuItem", asigned in ItemStyle in the markup part of the master page.
when the page renders, it does like this:
class
= " ig_d4377750_r2 menuItem"
and it shows exactly what I want. But then, when the user clicks in a toolbar option, a datagrid gets filled, and the styles I defined are ignored and only the ones defined in ig_d4377750_r2 are used.
This started to happen only when we migrated from v6.3 to v8.2
dvanzo said:class = " ig_d4377750_r2 menuItem"
To address this, you need to explicitly define a CSS class for all of the relevant Style properties used on our controls, and make sure that this CSS is included in your page during the initial callback. Alternately, you can use Application Styling, which will handle creating and connecting the CSS for you.
mmhh... I can see now that you where right.. the problem was actually in our css files, that in v6.3 were being ignored and now in v8.2 are taken into account, and they were different to what we thought!
Thanks for your time!