External CSS styles don't appear in the ApplyClass dropdown

2 posts, 0 answers
  1. Gabe Sumner
    Gabe Sumner avatar
    10 posts
    Member since:
    Sep 2007

    Posted 30 Apr 2011 Link to this post

    I cannot seem to coax RadEditor into adding custom styles to the ApplyClass dropdown.  [See attached image]

    Here is what I'm using for RadEditor:

    <telerik:RadEditor ID="RadEditor1" runat="server" Skin="Telerik">
            <telerik:EditorCssFile Value="~/Styles/editor.css" />
            <telerik:EditorCssClass Name="Sample" Value=".sample" />
            <telerik:EditorToolGroup Tag="Formatting">
                <telerik:EditorTool Name="Bold" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorDropDown Name="FormatBlock">
                <telerik:EditorDropDown Name="ApplyClass">
                <telerik:EditorTool Name="InsertUnorderedList" />
                <telerik:EditorTool Name="InsertOrderedList" />
                <telerik:EditorSeparator />
                <telerik:EditorTool Name="Outdent" />
                <telerik:EditorTool Name="Indent" />
            <telerik:EditorToolGroup Tag="MainToolbar">
                <telerik:EditorSplitButton Name="Undo">
                <telerik:EditorSplitButton Name="Redo">
                <telerik:EditorSeparator />
                <telerik:EditorTool Name="Cut" />
                <telerik:EditorTool Name="Copy" />
                <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />

    And here is the referenced Editor.css file (shown above):

        background: #ffffff;
        color: Red;

    Does anyone see why this won't work?  

  2. Rumen
    Rumen avatar
    14271 posts

    Posted 02 May 2011 Link to this post

    Hi Gabe,

    Please, replace

    <telerik:EditorDropDown Name="ApplyClass"></telerik:EditorDropDown>
    <telerik:EditorTool Name="ApplyClass" />

    This will fix the problem.

    I logged this glitch in our PITS system and our developers will fix it. Here you can find the PITS Issue: Public URL.

    Best regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top