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

Theme problem..

3 Answers 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kerim
Top achievements
Rank 1
kerim asked on 12 Jul 2010, 02:55 PM
Hi everyone..

I want the user to select a theme at runtime... but i cant figure it ..  i save user's theme name in database and take them to session..

<appSettings>
  <add key="Telerik.Skin" value="SkinName"/>
  <add key="Telerik.EnableEmbeddedSkins" value="false"/>          
</appSettings>
 
 
 ConfigurationManager.AppSettings.Set("Telerik.Skin",Session("UserThemeName").ToString)
 Page.Theme = Session("UserThemeName").ToString

but if i do that, all user's themes is changing..  i want to users have their own theme.. but i cant registering more theme ...

Any Ideas ??? ...
Thnxx

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 12 Jul 2010, 03:34 PM
Hi Kerim,

Your question is not related to RadControls specifically. Please refer to:

http://msdn.microsoft.com/en-us/library/tx35bd89.aspx

All the best,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
kerim
Top achievements
Rank 1
answered on 12 Jul 2010, 03:42 PM
but i can use more theme  without telerik controls.. i cant add more skin with them..
  •   <add key="Telerik.Skin" value="SkinName"/>     
  <add key="Telerik.EnableEmbeddedSkins" value="false"/>      


i want add more theme ..
<add key="Telerik.Skin" value="SkinName"/>   
<add key="Telerik.Skin" value="SkinName1"/>   
<add key="Telerik.Skin" value="SkinName2"/>

like that .... but it's not working.....  i can use only "SkinName2"...

  
0
Accepted
Dimo
Telerik team
answered on 12 Jul 2010, 04:27 PM
Hello Kerim,

Well, you can't set the skin name in the web.config in your case. You should set in in the theme's .skin file for each RadControl that you are using.

Kind regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
kerim
Top achievements
Rank 1
Answers by
Dimo
Telerik team
kerim
Top achievements
Rank 1
Share this question
or