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

[Solved] Custom Skins driving me crazy

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 30 Nov 2009, 09:13 PM
I have downloaded the trial version of the RadControls for ASP.NET Ajax, and can't get the skins to work correctly.

In the web.config

<add key="Telerik.EnableEmbeddedSkins" value="false">
<add key="Telerik.Skin" value="HRP">

I have also created a "Skins" directory at the root of my app, and copied in the Default skin files from the Telerik directory.

I have created a sample test page that has:

RadScriptManager
RadFormDeocrator

Two RadTextboxes
Two RadComboboxes
Two DatePickers

I have set enableembeddedstyles to false, but yet In Firebug, I can clearly see that Webresources are still being downloaded.

Can you point me to a sure fire way to use a custom skin?  The embedded ones seem to keep getting in my way.

Thanks.
Bill.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Dec 2009, 12:44 PM
Hi Bill McClenny,

Apart from EnableEmbeddedSkins, there is also one more property called EnableEmbeddedBaseStyleSheet. It determines whether the base (common, not skin-specific) styles for a given control should be registered.

Generally, you can leave those to be registered as they are needed anyway. In some cases you can override them. If you disable them with the property, you will have to register them yourself. The non-embedded versions of the base stylesheets are located in

[root] / Skins / ControlName.css

where [root] is either your RadControls installation folder or the downloaded ZIP.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Bill
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or