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

Remove items from the InsertFormElement menu

1 Answer 44 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Roger Withnell
Top achievements
Rank 1
Roger Withnell asked on 10 Jul 2010, 12:08 PM
On clicking the InsertFormElement tool, a dropdown appears with various inputs to insert into the editor.

I need to remove some of the items from the dropdown list.

How do I do this?

Your help would be much appreciated.

Thanking you in anticipation.

Roger

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Jul 2010, 04:34 PM
Hello Roger,

Here is an example demonstrating how to populate the InsertFormElement toolstrip with the desired items only:

Inline:

<telerik:RadEditor ID="RadEditor1" runat="server" >
   <Tools>
       <telerik:EditorToolGroup>
           <telerik:EditorToolStrip Name="InsertFormElement">
               <telerik:EditorTool Name="InsertFormText" />
               <telerik:EditorTool Name="InsertFormTextarea" />
               <telerik:EditorTool Name="InsertFormSubmit" />
            </telerik:EditorToolStrip>
       </telerik:EditorToolGroup>
   </Tools>
</telerik:RadEditor>

or via the toolsfile.xml file:

<tools name="MainToolbar">
     <EditorToolStrip Name="InsertFormElement">
               <EditorTool Name="InsertFormText" />
               <EditorTool Name="InsertFormTextarea" />
               <EditorTool Name="InsertFormSubmit" />
     </EditorToolStrip>
</tools>



Kind regards,
Rumen
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
Tags
Editor
Asked by
Roger Withnell
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or