Is there a way in code behind to pull all possible Theme names from the Skin Manager into a string array?
I was thinking it might be stored in RadSkinManager.Skins but I didnt find it there. If it is possible please
show code example.
Thanks,
1 Answer, 1 is accepted
0
Boyan Dimitrov
Telerik team
answered on 05 Mar 2015, 12:08 PM
Hello,
You can access all available skins in the "SkinChooser" RadComboBox that is part of the RadSkinManager control. You can access the RadComboBox items (skin names) as shown below:
//code
RadComboBox skinChooser = RadSkinManager1.FindControl("SkinChooser") as RadComboBox;
skinChooser.SelectedValue = "Black";
foreach (RadComboBoxItem item in skinChooser.Items)
{
....
}
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.