Can a skin be removed from the RadSkinManager?

2 posts, 1 answers
  1. Kasia
    Kasia avatar
    6 posts
    Member since:
    Jun 2009

    Posted 23 Jul 2009 Link to this post

    Is it possible to exclude a skin from the RadSkinManager?  For example if I didn’t want to show the Hay skin, how would I go about doing that?

    Thank you,


  2. Answer
    Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 29 Jul 2009 Link to this post

    Hello Kasia,

    Yes, you can remove certain skins from the RadSkinManager's SkinChooser by caturing its OnPreRender event and removing the skin e.g as shown below:

    protected void RadSkinManager1_PreRender(object sender, EventArgs e)  
           RadComboBox skinChooser = RadSkinManager1.FindControl("SkinChooser"as RadComboBox;  
           int i = 0;  
           while (i < skinChooser.Items.Count)  
               if (skinChooser.Items[i].Text == "Black")  
               //more conditions here  

    You can find more information about this below:

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top