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

Dynamic themeing of controls

2 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
yeswanth pavan
Top achievements
Rank 1
yeswanth pavan asked on 08 Feb 2010, 08:53 AM
Hi all,

Can I have a dropdown having all the skins i.e, vista,Outlook,Telerik,Forest...  when I will select any one of the skin from the dropdown then all the controls of that page should be changed to the selected skin as you applied in the Demos for Telerik controls.Is it possible if so how any help would be helpful.

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 08 Feb 2010, 02:40 PM
I believe what you're looking for is the RadSkinManager control. You would have to create the dropdown and the logic of when to change the Skins yourself but this control lets you define a list of controls you want to skin and from there you can easily change the skin of this list of controls.
0
robertw102
Top achievements
Rank 1
answered on 12 Feb 2010, 04:29 PM
Schlurk is right. Although I disagree with him, you don't need to create the drop-down or the logic. You just need to set ShowChooser="true", which renders the drop-down control and then set the PersistenceMode and PersistenceKey to suit your situation and I believe that's all you need to do. The RadSkinManager should take of the rest by setting all the RadControls on the page to the selected skin.
Tags
General Discussions
Asked by
yeswanth pavan
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
robertw102
Top achievements
Rank 1
Share this question
or