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

[Solved] Theme and Skin

3 Answers 141 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yi-Chien Chen
Top achievements
Rank 1
Yi-Chien Chen asked on 19 May 2009, 07:45 AM

Dear all,

I am working on an admin system with 12 themes. (Hay, , Web 2.0…and so on)

Each theme, I plan to use one corresponding telerik control skin. (Hay, , Web 2.0…and so on)  Also, backend user can select which theme he/she would like to use.

PS: I’m not using master page.

Could anyone suggest how to do it?

Billy

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 19 May 2009, 08:45 AM
Hello Billy,

For this purpose you can use a combination of RadFormDecorator and RadSkinManager in its skin chooser mode. See this online demo for details:

http://demos.telerik.com/aspnet-ajax/formdecorator/examples/formdecoratorandradcontrols/defaultcs.aspx (examine the RadFormDecorator usage and note the skin chooser at the top right corner of the page)

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Yi-Chien Chen
Top achievements
Rank 1
answered on 19 May 2009, 09:16 AM

Thanks for the quick response. It's helpful.
How about the "theme"?

For example, when I select "BLACK" skin, I would like to change the whole page background color to black and banner set for BLACK theme as well. (I've designed the css for theme.)
I don't know how to control the theme and skin at the same time.

Please advise, Thanks.

Billy
0
Martin
Telerik team
answered on 20 May 2009, 08:55 AM
Hi Yi-Chien Chen,

The Black skin of RadFormDecorator comes with predefined color for the background of the page as you can see at this demo page - http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx. Select the Black skin from the dropdown and you will see the page background change. However, you have to make sure that you have set the DecoratedControls property of RadFormDecorator to "All" and that you have not hardcoded a background color or image to the body in your own stylesheets.

Best wishes,
Martin Ivanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Yi-Chien Chen
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Yi-Chien Chen
Top achievements
Rank 1
Martin
Telerik team
Share this question
or