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

RadSkinManager in RadSlidingPane doesn't work

1 Answer 57 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 16 Aug 2011, 09:09 PM
I have a Master Page.
IN Master I got a RadSlidingPane. I put RadSkinManager in RadSlidingPane and oesnt work.
I put out RadSlidingPane and works perfectly.

Why?

   RadSkinManager radSkinManager = new RadSkinManager();
     radSkinManager.ID="RadSkinManagerpane";
    radSkinManager.ShowChooser = true;
       radSkinManager.Skin ="Vista";
         searchPane.Controls.Add(radSkinManager);

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetina
Telerik team
answered on 22 Aug 2011, 07:00 AM
Hello Julieta,

RadSkinManager should not be put inside other controls, the concept is to have it declared in the page (only once) and in case you do not want it to skin all RadControls in the page, to use its TargetControls collection in order to specify the controls to be skinned.

You can fill this collection either declaratively or programmatically from any part of the site which is child of  the master page in question. More information on how to add controls to the TargetControls collection is available here:
How to use RadSkinManager?

Kind regards,
Tsvetina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
SkinManager
Asked by
July
Top achievements
Rank 2
Answers by
Tsvetina
Telerik team
Share this question
or