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

Skin vs Theme

4 Answers 102 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 05 Apr 2009, 04:58 PM
Hi,

I'm probably stepping into a minefield here after reading about the recent skin change but is there anyway to simply set the skin up at a page load?    I'm about to switch from DevExpress and am doing eval coding at the moment. 

With DevExpress I was using Me.Theme = "Aqua"  in the page load event of every web page - nice and simple

I am assuming to carry on that approach I'll need to add all of the controls to a .skin file for each theme (as below)
<telerik:RadSlider runat="server" Skin="Hay" />

This came from this page here - http://www.telerik.com/help/aspnet-ajax/themeshowto.html

If I am right, are there any official Telerik theme skin files? 

By the way I need to be able to change skins on a user by user basis or would just set the skin in the web.config,

Thanks in advance for any help,

Jon

4 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 06 Apr 2009, 11:18 AM
Hello Jon,

Your assumption is correct - if you generate .skin files with Skin property set for all RadControls inside these files and apply them utilizing the ASP.NET Theme mechanism, you should attain the desired effect. For your convenience I am attaching a sample file for the Vista skin to this forum post. You can use it as basis for other .skin files you would like to create for RadControls for ASP.NET AJAX.

Additionally, you have the option to utilize our RadSkinManager control to apply global skin setting for the controls on the page or more specific using the TargetControls collection of the skin manager.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 06 Apr 2009, 09:45 PM

Hi Sebastian,

 

Thanks for the response and the sample file.  I'll be having a stab at this tomorrow. 

 

Best Regards,

 

Jon

0
Jon
Top achievements
Rank 1
answered on 07 Apr 2009, 10:32 AM
Hi Sebastian,

Just tried it and it works a treat - thanks for the file!

Regards,

Jon
0
Jon
Top achievements
Rank 1
answered on 08 Apr 2009, 02:29 PM
In case anyone else uses that file as a basis it also needs RadAjaxLoadingPanel adding to it....  

Cheers,

Jon
Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Jon
Top achievements
Rank 1
Share this question
or