Override web.config skin at the page level

2 posts, 0 answers
  1. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 10 Apr 2012 Link to this post

    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.
  2. Tsvetina
    Admin
    Tsvetina avatar
    2451 posts

    Posted 13 Apr 2012 Link to this post

    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.
Back to Top