This is a migrated thread and some comments may be shown as answers.

Controls to Skip for SkinManager?

1 Answer 55 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 10 Jan 2013, 01:22 PM
Hi,

I'm wondering whether there is an option that allows me to skip the skin chosen in the skin-manager to be applied for a certain control (a button in my case) ?
I cannot find something like ControlsToSkip. Am i missing something here?

As a follow up. How to undo a skin in code behind?

thanks, Michael

1 Answer, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 14 Jan 2013, 02:30 PM
Hi Michael,

On the topic of updating a skin in the code behind, this line added in the Page_Load event will let you access a single Rad Control on the page to edit its current skin.

protected void Page_Load(object sender, EventArgs e)
{
    //use this.Page.Master to reference the master page
    Telerik.Web.UI.RadSkinManager.GetCurrent(this.Page).ApplySkin(RadMenu1, "Default"); //user control
}


On the topic of skipping the skin chosen in the skin-manager, I have not heard of adding the skin-manager to a list of ControlsToSkip. That being said, this documentation on the RadSkinManager may be of some help to you.

Good luck,
Bart
Tags
SkinManager
Asked by
Michael
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Share this question
or