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

Small Customizations for Skins

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
robert
Top achievements
Rank 1
robert asked on 26 Mar 2010, 10:47 PM
In our project, we are planning to use the standard skins for various controls, and implement only a few customizations in a few places.  My plan is to set up the project to use the embedded skins, then in a separate CSS file we will place our own CSS that overrides some of the CSS in the Telerik files.  There is no need to generate a complete "custom" skin for only a small amount of customization.

In overriding the Telerik styles, of course, we could always add a higher level of specificity to ensure our style wins.  But I was wondering if there is a way to guarantee that our CSS file always loads after the <link> element that loads the Telerik styles from the Telerik webresource.  That way our styles would always override even if they were specified exactly like the Telerik styles.

Do you know how/when the Telerik <link> element is generated and how we could place our stylesheet <link> element after it?

Regards,
Bob Reader

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Mar 2010, 12:20 PM
Hello Bob,

The RadControls CSS files are added to the page header in PreRender. You can add your CSS files in Page_PreRenderComplete. In this way they will be rendered after the Telerik CSS files.

All the best,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
robert
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or