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

[Solved] SpellChecker Example produces multi-line toolbar

2 Answers 127 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 29 Dec 2009, 06:38 PM
When I run the DEMO it works fine. When I try to copy and paste the code into my project and run it, the spell checking example produces this huge multi lines toolbar, instead of the one-line toolbar.
http://localhost:8301/radcontrols_aspnetajax/editor/examples/spellchecker/defaultcs.aspx


What am I missing?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 30 Dec 2009, 04:49 AM
Hi Martin,

The editor in this example has a SkinID="BasicSetOfTools" property and loads its toolbar configuration from the RadEditor.skin file placed in the App_Themes/Default folder. Here is the declaration of the editor in the RadEditor.skin file:

<%--BASIC SET OF TOOLS--%>
<telerik:radeditor runat="server" SkinId="BasicSetOfTools">
    <Tools>   
    <telerik:EditorToolGroup Tag="MainToolbar">
        <telerik:EditorTool name="AjaxSpellCheck" />
        <telerik:EditorTool name="FindAndReplace" />
        <telerik:EditorSeparator Visible="true" />
        <telerik:EditorTool name="Undo" />
        <telerik:EditorTool name="Redo" />
        <telerik:EditorSeparator Visible="true" />
        <telerik:EditorTool name="Cut" />
        <telerik:EditorTool name="Copy" />
        <telerik:EditorTool name="Paste" shortcut="CTRL+!"/>
    </telerik:EditorToolGroup>
    <telerik:EditorToolGroup Tag="Formatting">
        <telerik:EditorTool name="Bold" />
        <telerik:EditorTool name="Italic" />
        <telerik:EditorTool name="Underline" />
        <telerik:EditorSeparator Visible="true" />
        <telerik:EditorTool name="ForeColor" />
        <telerik:EditorTool name="BackColor"/>
        <telerik:EditorSeparator Visible="true" />
        <telerik:EditorTool name="FontName"/>
        <telerik:EditorTool name="RealFontSize"/>
    </telerik:EditorToolGroup>
    </Tools>
</telerik:radeditor>

You can find more information on how to configure RadEditor using themes in this help article: Using Themes.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Martin
Top achievements
Rank 1
answered on 30 Dec 2009, 03:37 PM
Thank you very much.
Tags
Editor
Asked by
Martin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Martin
Top achievements
Rank 1
Share this question
or