Hello,
I want to add a RadSkinManager by coding, so below is my codes:
protected void Page_Load(object sender, EventArgs e)
{
RadSkinManager skinManager = new RadSkinManager();
skinManager.Skin = "Forest";
}
But nothing was happened, it doesn't work. When I write code like this:
protected void Page_Load(object sender, EventArgs e)
{
RadSkinManager skinManager = new RadSkinManager();
//skinManager.Skin = "Forest";
skinManager.ApplySkin(RadPane1,"Forest");
}
It works well. But I want to change skin for all the RadControls in the page, not one of them.If it can works,I could write these code in
BasePage, and let all the pages inherit it , so that I don't need to add RadSkinManager for each page.