Hi telerik team,
I have a OA system which has many pages (use frame, not masterpage), it allowed user to choose skin which they like, and save it to database. When he login next time, system read the setting from database and set it to all the pages.
Above is what I want, but I have a problem:
first , I don't want to put the RadSkinManager to each page and write code " RadSkinManager.GetCurrent(this.Page).Skin=Session["UserSkin"]; " on Page_Load(object sender, EventArgs e){} method, because I have too many pages.
second: I don't want to put the RadSkinManager to an usercontrol, and drag it to every page.
Is there any other ways to implement my ideal, such as new a RadSkinManager in BasePage and let other pages inherit it ? Or let every control's skin property empty and change the default skin setting which was writen in web.config before page load ? Or some other way? How should I do ?
By the way, I write some code on Page_Load Method, it doesn't work....
Thanks very much.
I have a OA system which has many pages (use frame, not masterpage), it allowed user to choose skin which they like, and save it to database. When he login next time, system read the setting from database and set it to all the pages.
Above is what I want, but I have a problem:
first , I don't want to put the RadSkinManager to each page and write code " RadSkinManager.GetCurrent(this.Page).Skin=Session["UserSkin"]; " on Page_Load(object sender, EventArgs e){} method, because I have too many pages.
second: I don't want to put the RadSkinManager to an usercontrol, and drag it to every page.
Is there any other ways to implement my ideal, such as new a RadSkinManager in BasePage and let other pages inherit it ? Or let every control's skin property empty and change the default skin setting which was writen in web.config before page load ? Or some other way? How should I do ?
By the way, I write some code on Page_Load Method, it doesn't work....
protected void Page_Load(object sender, EventArgs e)
{
Telerik.Web.UI.RadSkinManager skinManager = new Telerik.Web.UI.RadSkinManager();
skinManager.Skin = "Forest";
}
Thanks very much.