Hi All
I want to disable any editing in textarea of RadEditor control anonly the text should be visible.
I tried to implement following function on "OnClientLoad"
But I recieved the error:
Exception while executing client event OnClientLoad Error:Object doesn't support this property or method.
Please tell me how to keep the textarea disabled.
Thanks in advance !!
I want to disable any editing in textarea of RadEditor control anonly the text should be visible.
I tried to implement following function on "OnClientLoad"
function
OnClientLoad(editor, args)
{
editor.add_modeChange(
function(editor, args)
{
var mode = editor.get_mode();
if (mode == 2)
{
var htmlMode = editor.get_textArea(); //get a reference to the Html mode textarea
htmlMode.disabled =
"true";
}
});
}
But I recieved the error:
Exception while executing client event OnClientLoad Error:Object doesn't support this property or method.
Please tell me how to keep the textarea disabled.
Thanks in advance !!
