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

RadEditor ApplyCSS

1 Answer 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 17 Sep 2008, 08:43 AM
Hello there.

We are using RadControls for ASP.net ajax Q2 and have encountered the following problems.

1 - We cannot remove the default page css file classes from the ApplyCSS dropdown. Even introducing an external stylesheet (see below) does nothing.

<telerik:RadEditor ID="RadEditor1" runat="server">
<CssFiles>
<telerik:EditorCssFile Value="~/App_Themes/content/default.css" /> </CssFiles>
<telerik:RadEditor>

This retains the default page css and does not include the desired css from "~/App_Themes/content/default.css". The only way to get the classes from "~/App_Themes/content/default.css" to appear is by adding the stylesheet as the ContentAreaCSSFile. Howver, this removes some desired styling of the native editor formatting (notably when working with tables) AND the classes from the pages style sheets are still present.

I have a lot of your example and tutorials on this but am getting nowhere.

Regards,

Darren.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 19 Sep 2008, 08:27 AM
Hi Darren,

Please review the following help article that demonstrates how to achieve the desired behavior:
http://www.telerik.com/help/aspnet-ajax/cssstyles.html

I suggest trying to set the styles form the CodeBehind.

I hope this helps.

Sincerely,
George
the Telerik team

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