how to disable/enable entire RadEditor using javascripts ?????
1 Answer, 1 is accepted
0
Accepted
Ianko
Telerik team
answered on 08 Oct 2013, 06:55 AM
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
Regards,
Ianko
Telerik
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.