Disappearing Styles with Atlas - Fixed in June CTP
I was extremely happy to see that in the Atlas June CTP the mystery of disappearing styles has been solved. Well, for the most part at least. It appears that style information is now preserved even after the UpdatePanel is refreshed, however there is an issue with the first or last control still losing its style information. If you are running into odd behavior with only one control losing styling after a postback in the UpdatePanel, try adding a dummy style tag directly after the UpdatePanel. My tests showed that the following works like a charm -
<
atlas
:
UpdatePanel
ID
="UP1"
runat
="server">
<
ContentTemplate
>
<
igtab
:
UltraWebTab
ID
="UltraWebTab1"
runat
="server"
BorderColor
="#0056D7"
BorderStyle
="Solid"
BorderWidth
="1px"
ThreeDEffect
="False">
<
Tabs
>
<
igtab
:
Tab
Text
="tab1"></
igtab
:
Tab
>
</
Tabs
>
<
DefaultTabStyle
BackColor
="#E1EDFF"
Height
="20px">
</
DefaultTabStyle
>
<
RoundedImage
FillStyle
="LeftMergedWithCenter"
NormalImage
="ig_tab_blueb1.gif"
SelectedImage
="ig_tab_blueb2.gif"
/>
</
igtab
:
UltraWebTab
>
<
asp
:
Button
ID
="Button1"
runat
="server"
Text
="Button"
/>
</
ContentTemplate
>
</
atlas
:
UpdatePanel
>
<
style
type
='text/css'></
style
>
Hope this helps!
-Tony