add/remove EditorTools and EditorToolGroup on the client side

2 posts, 0 answers
  1. rez
    rez avatar
    3 posts
    Member since:
    Jan 2011

    Posted 08 Mar 2011 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4567 posts

    Posted 11 Mar 2011 Link to this post

    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!
Back to Top