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

How to light ApplyCSS DropDownList ?

1 Answer 16 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Haderach
Top achievements
Rank 1
Haderach asked on 22 Sep 2008, 09:14 AM
Hello,

I am using RadEditor and I would like to light the ApplyCSS DropDownList...
I am using the ContentAreaCssFile properties in ASPX code and it is working but after the all style of this CSS file, the dropdownlist is automaticaly binded with all the other CSS file which are declared in the master page like that :

 
    <link rel="stylesheet" href="Skins/Telerik/Dock.Telerik.css" type="text/css" /> 
    <link rel="stylesheet" href="Skins/Telerik/PanelBar.Telerik.css" type="text/css" /> 
    <link rel="stylesheet" href="Skins/Default2006/Editor.Default2006.css" type="text/css" /> 
    <link rel="Stylesheet" type="text/css" href="Skins/Editor.css" /> 
    <link rel="Stylesheet" type="text/css" href="Skins/Dock.css" /> 

How can I do to prevent this to happen?

Thank you for your help.
Read you soon

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 22 Sep 2008, 10:04 AM
Hi Haderach,


You need to replace the ContentAreaCssFile with CssFiles proeprty. Thus the editor will not pick up the styles from the parent page and it will read and load only the css classes located in the loaded via the CssFiles property an external css file.

You can find more information in the following article: External CSS Files.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Haderach
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or