Hi,
I have a PageBase class that inherits from System.Web.UI.Page. I also use web user controls extensively. The RadSkinManager skins all the RadControls consistently if the RadFormDecorator is commented out. But as soon as I uncomment the RadFormDecorator sections, all the RadControls on the page acquire the "Default" skin and all ASP controls acquire the desired skin. (i.e. "Forest"). The behavior I want is for all controls to be skinned consistently. How should I modify it so that it works correctly?
Additional Information:
Using Q3 2011
I am also not allowed to use a master page but web user control solutions are ok.
The PageBase class also contains a RadAjaxManager and ScriptManagerProxy if that is of any relevance??
public abstract class PageBaseControl : Page
{
public RadSkinManager DefaultSkinManager;
//public RadFormDecorator DefaultFormDecorator;
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
DefaultSkinManager = new RadSkinManager();
DefaultSkinManager.ID = "DefaultSkinManager";
//DefaultFormDecorator = new RadFormDecorator();
//DefaultFormDecorator.ID = "DefaultFormDecorator";
DefaultSkinManager.Skin = "Forest";
//DefaultFormDecorator.Skin = "Forest";
DefaultSkinManager.ShowChooser = false;
DefaultSkinManager.PersistenceKey = "Skin";
DefaultSkinManager.PersistenceMode = RadSkinManagerPersistenceMode.Session;
//DefaultFormDecorator.DecoratedControls = FormDecoratorDecoratedControls.All;
Form.Controls.Add(DefaultSkinManager);
//Form.Controls.Add(DefaultFormDecorator);
}
}