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

Embedded skin CSS affecting custom skin

3 Answers 83 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Josh Anderson
Top achievements
Rank 1
Josh Anderson asked on 30 Jan 2009, 03:54 PM
I have configured a toolbar to use a custom skin, but I notice when inspecting the source that some of the embedded skin information is still retained.  Specifically, when I create a drop-down button, the wrapper DIV on the drop-down menu is assigned both my custom class and the default class, as follows:

<div class="RadToolBarDropDown RadToolBarDropDown_InTouch" ...

Similarly, the WebResource.axd file is outputting CSS information for the RadToolBarDropDown class which is overriding the CSS properties I specify in my custom skin.

How can I get the embedded skins to REALLY be removed?

Josh

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 02 Feb 2009, 08:43 AM
Hi Josh Anderson,

Most of the RadControls have two CSS files associated with them, a base (containing common properties, most of which required for the proper functionality of the control) and a skin (Default, Vista, etc). You can disable the first one (which is the one that you describe) through the EnableEmbeddedBaseStylesheet property.

Sincerely yours,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Josh Anderson
Top achievements
Rank 1
answered on 02 Feb 2009, 04:22 PM
Where can I access the CSS for those base styles?  If I disable the embedded style sheet it breaks the layout of the toolbar.  I suppose I'll need to incorporate that style information into my custom skin, right?

Josh
0
Atanas Korchev
Telerik team
answered on 03 Feb 2009, 08:28 AM
Hi Josh Anderson,

The base css file defines the layout of the control. You can find it in your RadControls installation:

[InstallDir]\Skins\Toolbar.css

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolBar
Asked by
Josh Anderson
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Josh Anderson
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or