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

add/remove EditorTools and EditorToolGroup on the client side

1 Answer 38 Views
Editor
This is a migrated thread and some comments may be shown as answers.
rez
Top achievements
Rank 1
rez asked on 08 Mar 2011, 05:27 PM
Hi there,
I found the following nice article explaining how tools can be dynamically added/removed from the editor:
http://www.telerik.com/help/aspnet-ajax/removingtoolbarbuttons.html

I prefer to do this on the client side since I would like to modify the tools based on the clicked html tag.

Is it possible? If not, I think my only option would be calling the server side code using Ajax.

Thanks,
Reza

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Mar 2011, 01:20 PM

Hello Reza,

The tool set is created on the server and cannot be modified only on the client-side. The nearest match is to enable or disable certain buttons based on your conditions. How to do that is explained in the following article: http://www.telerik.com/help/aspnet-ajax/editor-gettoolbyname.html. 


Greetings,
Marin
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Editor
Asked by
rez
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or