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

[Solved] Common skin.css files

2 Answers 181 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 16 Apr 2008, 03:17 PM
I'm creating a skin for all of the controls used in my app based on the Hay skin.

I know that I have to copy the files in the Hay folder to my own skin folder name and rename the elements in each of the .css files.

I note, however, that in the skins folder (above the folders for the individual skins folders) that there are a number of .css files. Do I need to copy these too? And if so, where do I tell it where to find these files?

I know that I have to 'register' my .css files on the page to get the control to use them; do I have to do the same with these 'general' files?

Sorry if this is documented, but I couldn't find it anywhere.

--
Stuart

2 Answers, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 21 Apr 2008, 08:16 AM
Hi Stuart,

In general, the CSS files in the Skins folder (above the folders for the individual skins folders) are the base CSS files of the controls. They are also embedded in the controls' assembly. You will need to copy them in your application if you need to make some modifications in them; in addition, you will have to set the EnableEmbeddedBaseStylesheet property of the control to false.

In a word, if you need to set your custom skin, you don't need to include these files in your application.

Kind regards,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dan
Top achievements
Rank 1
answered on 22 Apr 2008, 02:35 PM
Useful info.

Thanks Paul.

--
Stuart
Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Paul
Telerik team
Dan
Top achievements
Rank 1
Share this question
or