Using a custom skin as the global default

3 posts, 0 answers
  1. Neil N
    Neil N avatar
    87 posts
    Member since:
    Aug 2012

    Posted 10 Dec 2012 Link to this post

    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:
        <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" />

    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. Neil N
    Neil N avatar
    87 posts
    Member since:
    Aug 2012

    Posted 11 Dec 2012 Link to this post

    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.
  3. Galin
    Galin avatar
    526 posts

    Posted 14 Dec 2012 Link to this post

    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.

    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.
Back to Top