Controls to Skip for SkinManager?

2 posts, 0 answers
  1. Michael
    Michael avatar
    19 posts
    Member since:
    Jun 2012

    Posted 10 Jan 2013 Link to this post


    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
  2. MasterChiefMasterChef
    MasterChiefMasterChef avatar
    152 posts
    Member since:
    Jan 2013

    Posted 14 Jan 2013 Link to this post

    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,
Back to Top