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

How to hide RadEditor toolbar when EditType is set to "Inline"

1 Answer 101 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 21 Jun 2016, 03:34 AM
How could I hide RadEditor toolbar by custom button clicked and show RadEditor toolbar by RadEditor clicked, when EditType is set to "Inline".

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 21 Jun 2016, 11:19 AM
Hi Alan,

You can do that with this line of code:
$find("<%= RadEditor1.ClientID %>").get_toolAdapter().get_window().hide()

Make sure to change the RadEditor1 with the ID of your RadEditor instance.

Regards,
Ianko
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Editor
Asked by
Alan
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or