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

Using a custom skin as the global default

2 Answers 26 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Neil N
Top achievements
Rank 1
Veteran
Iron
Neil N asked on 11 Dec 2012, 05:23 AM
I'm missing something in the documentation (2012 Q3 controls).  I created a custom skin for all controls using the online Visual Style Builder.  Called it MMSM_MTS, downloaded the zip file, and extracted it to the MMSM_MTS folder off the app root. Added this to web.config:
<appSettings>
    <add key="Telerik.Skin" value="MMSM_MTS" />
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
    <add key="Telerik.EnableEmbeddedSkins" value="false" />
    <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />
</appSettings>
                                           

Loaded a page but the RadComboBox was completely unskinned.  Then tried to manually specify the skin:
<telerik:RadComboBox ID="cbMun" runat="server" DataSourceID="dsMun" DataTextField="sName" DataValueField="nMunID" EnableEmbeddedSkins="False" Skin="MMSM_MTS"></telerik:RadComboBox>

Same unskinned appearance.  What am I doing wrong?



2 Answers, 1 is accepted

Sort by
0
Neil N
Top achievements
Rank 1
Veteran
Iron
answered on 12 Dec 2012, 03:38 AM
Probably posted in the wrong forum but here's how I got it working.

Remove <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />  from web.config. Add links to control stylesheets to the head element of the master page.
0
Galin
Telerik team
answered on 14 Dec 2012, 07:40 AM
Hi Neil,

Usually the RadControls have base styles needed for laying their structure. You can disable by setting the property EnableEmbeddedBaseStylesheet to false, but usually this messing up the layout of control and it is not recommended.

Also, all base CSS files are placed in installation folder -> Skins-> ControlName.css.

I hope this helps.

Regards,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
SkinManager
Asked by
Neil N
Top achievements
Rank 1
Veteran
Iron
Answers by
Neil N
Top achievements
Rank 1
Veteran
Iron
Galin
Telerik team
Share this question
or