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

Best way to handle Skins/CSS in complex Projects

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PaxVobisCum
Top achievements
Rank 1
PaxVobisCum asked on 13 Apr 2010, 05:14 PM
Hi there,
we are developing a new CMS using various Telerik Controls.
now we need to provide different looks for some of them, by example for some RadGrids.
At the Moment we tried to handle this problem by using RadGrid with its Default Css and tried to overwrite some of the css information.
To do so we built a new Css, including the Css-Information we want to overwrite according to a classname:

.RadGridFavorites .rgRow td, .RadGridFavorites .rgAltRow td
{
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

Cause using Skin-Property of the Class didnt work for us this classname we assigned to the grid as CssClass:
   CssClass="RadGridFavorites"

But doing so we have the problem, that our Css-entries are overwritten by the default css, because our entries are loaded earlier.

What would be the best way to use default Grid look, but adding additional Layout-Information ???

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 16 Apr 2010, 12:00 PM
Hello Steffen,

Please examine the How To Override Styles in a RadControl for ASP.NET AJAX' Embedded Skin to see how to make changes to embedded skins.

For additional information on the same topic, you examine the following help topics:
Modifying existing skins/creating new skins
Skins

Best wishes,
Mira
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
Grid
Asked by
PaxVobisCum
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or