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

Override web.config skin at the page level

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 10 Apr 2012, 02:29 PM
We're transitioning certain pages of our project to a new skin. Basically what I'd like to do is use Telerik's Black skin as the default and then in my appthemes folder make the customizations. In my web config I have a Telerik.Skin defined in app settings <add key="Telerik.Skin" value="MyOldSkin" />

There is also a <pages styleSheetTheme="MyOldAppTheme" />

I need to on a page by page basis be allowed to override these two settings WITHOUT altering the original settings...I tried just on my aspx page

<%Page stylesheettheme="MyNewThemeFolder" ...
<telerik:radskinmananger skin="Black"

Is this possible? its somewhat kind of working sometimes but not really and I'm not sure I'm doing this correctly any help greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 13 Apr 2012, 11:25 AM
Hello Sean,

It should be fine to set a skin in web.config and then overwrite it through a setting in RadSkinManager. I tested the scenario locally and it works fine for me. Can you check out the attached test project and let me know if you notice anything important that I have missed out.

All the best,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Sean
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or