Using multiple skins om a page

2 posts, 0 answers
  1. Pontus Johansson
    Pontus Johansson avatar
    7 posts
    Member since:
    Apr 2010

    Posted 18 Aug 2010 Link to this post

    I've created some skins in the stylebuilder that I want to use on one of my pages. I have an overall theme that I use, but I also want to use a custom tab on the same page that differs from the tab-style in my main theme. To use my main theme I added it at the top of my markup as "Theme="MySkin" and used it on different places later in the code as  Skin="MySkin" and enableembeddedskins(?) as false.

    Now, how can use my other skin in parts of the page aswell?
  2. Dimo
    Dimo avatar
    8403 posts

    Posted 18 Aug 2010 Link to this post

    Hi Pontus,

    In order to use your other skin on the page, you need to explicitly register the CSS files on the page with <link> tags and set the corresponding Skin property to the desired controls. Note that settings in an ASP.NET theme cannot be overridden on a web page. For example if you have set Skin="Vista" for all RadGrids in the ASP.NET theme, you cannot set a different Skin property in the web page. This problem can be worked around if you use SkinIDs.

    Sincerely yours,
    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
Back to Top