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

Editor form elements

3 Answers 52 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ciprian
Top achievements
Rank 1
Ciprian asked on 12 Sep 2008, 08:05 AM
How can I remove some of the form elements availavle for insert in the telerik editor ?

3 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 12 Sep 2008, 09:19 AM
Hello Ciprian,

You need to create a toolstrip control with the desired form element items in it. You can find information how to create a toolstrip in this article: How to create a ToolStrip. Here are the form elements command names:

        <EditorTool name="InsertFormForm" />
        <EditorTool name="InsertFormButton" />
        <EditorTool name="InsertFormCheckbox" />
        <EditorTool name="InsertFormHidden" />
        <EditorTool name="InsertFormPassword" />
        <EditorTool name="InsertFormRadio" />
        <EditorTool name="InsertFormReset" />
        <EditorTool name="InsertFormSelect" />
        <EditorTool name="InsertFormSubmit" />
        <EditorTool name="InsertFormTextarea" />
        <EditorTool name="InsertFormText" />

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ciprian
Top achievements
Rank 1
answered on 12 Sep 2008, 10:18 AM
Thank you Rumen, I created the toolstrip and it works fine. One observation though: the image i set to be used as the ToolStrip icon was not working, so i found that "background-position-x: center;"  needed to be added to the style which applies the background image cause it had a negative value. Maybe the help article should be updated with this info.
0
Rumen
Telerik team
answered on 12 Sep 2008, 11:52 AM
Hello Ciprian,

Thanks for your suggestion. We will consider adding this info to the editor's documentation.

Greetings,
Rumen
the Telerik team

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