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

name list of tool in EditorTool

2 Answers 86 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gilberto Anino
Top achievements
Rank 1
Gilberto Anino asked on 28 Jan 2010, 03:38 PM
Hi,

sorry for my bad english.....

Im building a RadEditor in my codebehind but i don't know the names of some tools i need to add... do you have any list of them???

whith some tool i can use the tootip name but, other tools have two words tooltip and when i try to add them i get the message "The command [name i use for the tool] is not implemented yet".

for example i'm trying to add an horizontal rule and i cant'.

some of my code:
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load 
        Dim main As New EditorToolGroup() 
        RadEditor1.Tools.Add(main) 
 
        main.Tools.Add(New EditorTool("SelectAll""CTRL+A")) 
        main.Tools.Add(New EditorTool("Cut""CTRL+X")) 
        main.Tools.Add(New EditorTool("Copy""CTRL+C")) 
        main.Tools.Add(New EditorTool("Paste""CTRL+V")) 
        main.Tools.Add(New EditorTool("Undo""CTRL+Z")) 
        main.Tools.Add(New EditorTool("Redo""CTRL+Y")) 
        main.Tools.Add(New EditorTool("HorizontalRule")) 'I GET ERROR IN THIS LINE 
 
 
    End Sub 


Thanks for helping me!!!!

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 28 Jan 2010, 03:47 PM
Hello Gilberto,

You can find the names of the RadEditor tools in this article: Introduction to Toolbar.

You should use InsertHorizontalRule for adding a horizontal rule button to the toolbar.


Greetings,
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
Gilberto Anino
Top achievements
Rank 1
answered on 28 Jan 2010, 04:16 PM
thanks for helpnig..

It is exactly what i need!!!!!!


Tags
Editor
Asked by
Gilberto Anino
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Gilberto Anino
Top achievements
Rank 1
Share this question
or