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

All RadControls Q3 2008 Skins Are Now Compatible with the Q1 2009 Release

0 Answers 1628 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 20 Mar 2009, 12:03 PM
Hello,

Please find attached a ZIP containing all RadControls skins, which were embedded in the Q3 2008 version and have been migrated to be compatible with the Q1 2009 version.

There are two ways to use the attached skins as external non-embedded skins:

ASP.NET Themes

This method is useful if you need to use the skin for all controls of a specific type in the whole web application.

You need to:

                1. change the <pages> declaration in your web.config to <pages theme="SkinName"> e.g.
                               <pages theme=
"Gray">

                2. add the following lines to the <appSettings> section of your web.config:

                                <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />

                                <add key="Telerik.EnableEmbeddedSkins" value="false" />

                               <add key="Telerik.Skin" value="SkinName"/>
                      e.g.

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

                3. create an ASP.NET Theme, named SkinName and add the following all files and folders from the archive:

                       Skins/ControlName.css (note that not all controls have such a file)

Skins/SkinName/*
e.g.

Skins/Menu.css
Skins/Gray/Menu.Gray.css
Skins/Gray/Menu/*.*

                               

Direct skin registration

This method is useful if you have fewer instances of a given control in your website.

You need to:

                1. set the Skin property accordingly

                2. set the EnableEmbeddedSkins and the EnableEmbeddedBaseStylesheet properties to false

                3. register the skin file using the following CSS:

    <link rel="stylesheet" type="text/css" href="~/Skins/ControlName.css" runat="server " />

<link rel="stylesheet" type="text/css" href="~/Skins/SkinName/Menu.SkinName.css" runat="server" />
e.g.

    <link rel="stylesheet" type="text/css" href="~/Skins/ Menu.css" runat="server" />

                    <link rel="stylesheet" type="text/css" href="~/Skins/Gray/Menu. Gray.css" runat="server"/>

             (note that not all controls have a ControlName.css file)

Further documentation related to skin usage is available at:

http://www.telerik.com/help/aspnet-ajax/controlling-appearance-overview.html



Tags
General Discussions
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Share this question
or