Hi
1) I assume values are assigned to declarative controls in the following order:
1 - First StyleSheetThemes values are assigned to controls
2 - Then controls are assigned declaratively set values
3 - Then Themes are applied ( at the end of Page.PreInit )
2) In order to set StyleSheetTheme programmatically, we can’t just assign a string value to Page.StyleSheettheme property, but instead we need to override Page.StyleSheetTheme property.
I assume reason for this is due to the fact that the earliest we can assign a value to StyleSheetThemes property is inside Page.PreInit, which is already too late, since skins defined inside StyleSheetThemes need to be applied to controls prior to Page.PreInit event?!
thanx