Change ContentAreaMode in javascript

2 posts, 0 answers
  1. Jim
    Jim avatar
    14 posts
    Member since:
    Aug 2013

    Posted 30 Sep 2016 Link to this post

        Is there a way for me to change the ContentAreaMode client side?  I see there is a get_contentArea() method, but nowhere in the documentation do I see what you can do with the object returned.  The example just shows how to change styles.  What else can I do with it?  Can I use it to change the ContentAreaMode?


    Thanks for the help,


  2. Marin Bratanov
    Marin Bratanov avatar
    3907 posts

    Posted 03 Oct 2016 Link to this post

    Hello Jim,

    There is no such facility because the value of the ContentAreaMode property changes the rendering of the RadEditor, and a client-side feature has not been implemented yet. I can suggest you add your idea to the Feedback portal and if it gains enough traction in the community, the product management will review it:

    You can look into initiating a partial postback to toggle the property on the server.

    As for the use of the get_contentArea() method—it provides you with a reference to the editable area object. You can changes styles, content, traverse the DOM of the current content.


    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top