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

[Solved] Globally changing skins II

2 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William Corry
Top achievements
Rank 1
William Corry asked on 16 Apr 2009, 03:13 PM

If one uses the default option for all of the control's skins is it possible to quickly change the look of the default setting for all of the controls in a website?  Viewing the forums I've seen the suggestion of changing the following line of the WebConfing file.

  <appSettings>  
    <add key="Telerik.WebControls.Skin" value="WebBlue" />  
  </appSettings> 

I have placed the text shown above in the Web.config file and rebuilt the solution. When the webpages are opened the style of the Telerik controls is not WebBlue.  I'm using Q3 2008 Telerik controls.  Is there an alternative to going through all of the pages and manually setting all the skin property to WebBlue for each control?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 16 Apr 2009, 03:16 PM
Hello William,

The global skins registration for our RadControls for ASP.NET AJAX requires different web.config setting - the one you found should work with the ASP.NET counterparts of the products. Review the bottom section of this help topic for more details:

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

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
William Corry
Top achievements
Rank 1
answered on 16 Apr 2009, 03:39 PM
Thanks,
That worked once I figured out that the description for the individual controls couldn't contain the skin="Default" descriptor.  I had gotten into that state by trying to change all of the projects skins by replacing skin="WebBlue" with skin="Default"  -- that works buy you're stuck with the default style that isn't overridden by the :

 

 

 

<add key="Telerik.Skin" value="Hay" /> 

setting in the web.config file.  So what I had to do was to globally replace skin="Default" with nothing.  Now it works.

 

 

 

 

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