
Thanks,
amit
5 Answers, 1 is accepted
Review the following online help article http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html.
What you need to do is set the cssFiles collection. Also rename the CssEditor.css because it is automatically loaded in presentation mode of WCM and webpart scenario.
All the best,
Stanimir
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.

I have upgraded rad editor to the latest version 5.7 earlier it was 5.0, now when i copied my custom config and tools xml from old version to new, cssFile rule stopped working.
Css dropdown is showing some defualt table styles which i wanted to update. table style css and cssEditor css both are not reflecting properly.
My requirement is table css class dropdown should show only table styles and apply css dropdown should display normal classes other then table styles.
Please help me out.
Thanks,
Amit Aggarwal.
Could you provide me with your ConfigFile.xml, ListConfigFile.xml, ToolsFile.xml, ListToolsFile.xml files?
Kind regards,
Stanimir
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.

ConfigFile.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
Config File valid structure:
<configuration>
<property>...</property>
...
<property>
<item>...</item>
<item>...</item>
...
</property>
...
</configuration>
=============================================================================================== -->
<configuration>
<property name="ToolbarMode">ShowOnFocus</property>
<property name="ExternalDialogsPath">/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/</property>
<property name="StripFormattingOptions">AllExceptNewLines</property>
<property name="ToolbarMode">Default</property>
<property name="TableLayoutCssFile">/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/tableCssLayout.css</property>
<property name="ImagesPaths">
<item>/PublishingImages</item>
</property>
<property name="CssFiles">
<item name="/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/cssEditorApollo.css"></item>
</property>
</configuration>
ListConfigFile.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
Config File valid structure:
<configuration>
<property>...</property>
...
<property>
<item>...</item>
<item>...</item>
...
</property>
...
</configuration>
=============================================================================================== -->
<configuration>
<property name="EditModes">Design,Html</property>
<property name="Height">240px</property>
<property name="TableLayoutCssFile">/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/tableCssLayout.css</property>
<property name="UploadImagesPaths">
<item>/PublishingImages/</item>
</property>
<property name="CssFiles">
<item name="/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/cssEditorApollo.css"></item>
</property>
</configuration>
ToolsFile.xml
<root>
<tools name="InsertToolbar" enabled="true" >
<tool name="InsertSymbol" />
<tool name="FormatStripper" />
<tool name="AjaxSpellCheck"/>
<tool name="ImageManager" shortcut="CTRL+M"/>
</tools>
<tools name="InsertToolbar" enabled="true" >
<tool name="InsertTable" />
<tool name="ToggleTableBorder" />
<tool name="ToggleScreenMode" />
<tool name="Help" />
</tools>
<tools enabled="true">
<tool name="Undo" />
<tool name="Redo" />
<tool separator="true"/>
<tool name="Cut" />
<tool name="Copy" />
</tools>
<tools enabled="true">
<tool name="PastePlainText" />
<tool name="PasteAsHtml" />
<tool separator="true"/>
<tool name="InsertParagraph" />
<tool name="InsertHorizontalRule" />
</tools>
<tools enabled="true">
<tool name="FormatBlock" />
</tools>
<tools enabled="true" dockable="true">
<tool name="Bold" />
<tool name="Italic" />
<tool name="Underline" />
</tools>
<tools enabled="true" dockable="true">
<tool name="JustifyLeft" />
<tool name="JustifyCenter" />
<tool name="JustifyRight" />
</tools>
<tools enabled="true" dockable="true">
<tool name="Indent" />
<tool name="Outdent" />
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList"/>
</tools>
<tools enabled="true" dockable="true">
<tool name="AbsolutePosition" />
<tool name="LinkManager" />
<tool name="Unlink" />
</tools>
<tools name="DropdownToolbar" dockable="true" >
<tool name="ApplyClass"/>
</tools>
<links>
</links>
<symbols></symbols>
<fontNames></fontNames>
<fontSizes></fontSizes>
<colors></colors>
<classes></classes>
<paragraphs>
<paragraph name="Clear formatting" value="<body>" />
<paragraph name="<H1>Heading 1</H1>" value="<H1>" />
<paragraph name="<H2>Heading 2</H2>" value="<H2>" />
</paragraphs>
<dialogParameters></dialogParameters>
<languages></languages>
<cssFiles>
<item name="/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/cssEditorApollo.css" />
</cssFiles>
</root>
ListToolsFiles.xml
<root>
<tools name="InsertToolbar" enabled="true" >
<tool name="InsertSymbol" />
<tool name="FormatStripper" />
<tool name="AjaxSpellCheck"/>
<tool name="ImageManager" shortcut="CTRL+M"/>
</tools>
<tools name="InsertToolbar" enabled="true" >
<tool name="InsertTable" />
<tool name="ToggleTableBorder" />
<tool name="ToggleScreenMode" />
<tool name="Help" />
</tools>
<tools enabled="true">
<tool name="Undo" />
<tool name="Redo" />
<tool separator="true"/>
<tool name="Cut" />
<tool name="Copy" />
</tools>
<tools enabled="true">
<tool name="PastePlainText" />
<tool name="PasteAsHtml" />
<tool separator="true"/>
<tool name="InsertParagraph" />
<tool name="InsertHorizontalRule" />
</tools>
<tools enabled="true">
<tool name="FormatBlock" />
</tools>
<tools enabled="true" dockable="true">
<tool name="Bold" />
<tool name="Italic" />
<tool name="Underline" />
</tools>
<tools enabled="true" dockable="true">
<tool name="JustifyLeft" />
<tool name="JustifyCenter" />
<tool name="JustifyRight" />
</tools>
<tools enabled="true" dockable="true">
<tool name="Indent" />
<tool name="Outdent" />
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList"/>
</tools>
<tools enabled="true" dockable="true">
<tool name="AbsolutePosition" />
<tool name="LinkManager" />
<tool name="Unlink" />
</tools>
<tools name="DropdownToolbar" dockable="true" >
<tool name="ApplyClass"/>
</tools>
<links>
</links>
<symbols></symbols>
<fontNames></fontNames>
<fontSizes></fontSizes>
<colors></colors>
<classes></classes>
<paragraphs>
<paragraph name="Clear formatting" value="<body>" />
<paragraph name="<H1>Heading 1</H1>" value="<H1>" />
<paragraph name="<H2>Heading 2</H2>" value="<H2>" />
</paragraphs>
<dialogParameters></dialogParameters>
<languages></languages>
<cssFiles>
<item name="/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/cssEditorApollo.css" />
</cssFiles>
</root>
I apologize for the inconvenience, but in order for my test to be accurate I will need the cssEditorApollo.css and tableCssLayout.css files as well.
What you should know is:
1. You can not set CssFiles collection in the ConfigFile.xml, so first remove the following code from both ConfigFile.xml and ListCoinfigFile.mxl:
<
property
name
=
"CssFiles"
>
<
item
name
=
"/_wpresources/RadEditorSharePoint/5.7.1.0__1f131a624888eeed/Resources/cssEditorApollo.css"
></
item
>
</
property
>
2. In the ListConfigFile.xml you set UploadImagesPaths. Make sure that you rename UploadImagesPaths to ImagesPaths
All the best,
Stanimir
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.