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

Using multiple skins om a page

1 Answer 132 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Pontus Johansson
Top achievements
Rank 1
Pontus Johansson asked on 18 Aug 2010, 12:06 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 18 Aug 2010, 12:28 PM
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.

http://www.telerik.com/help/aspnet-ajax/skinregistration.html

Sincerely yours,
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
Visual Style Builder
Asked by
Pontus Johansson
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or