disable RadEditor using javascripts

Thread is closed for posting
2 posts, 1 answers
  1. Santosh
    Santosh avatar
    24 posts
    Member since:
    Sep 2013

    Posted 03 Oct 2013 Link to this post

    how to disable/enable entire RadEditor using javascripts ?????
  2. Answer
    Ianko avatar
    1856 posts

    Posted 08 Oct 2013 Link to this post

    Hi Santosh,

    The RadEditor's property Enabled cannot be manipulated via its Client-side API, by design. When the editor is disabled, there is no available approach to get its Client-side object.

    As an alternative I can suggest using the Visible property with its Client-side methods:
    editor.get_visible() // retrieves a Boolean with the Visible's value
    editor.set_visible() // Sets the Visible to false (can accept a Boolean argument)
    editor.set_visible(true) // Sets the Visible to true

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top