Hi,
I have an editor(telerik:RadEditor) inside a List(telerik:RadListView), when the user clicks edit it will display the editor. I want to disable some buttons the user should not see, I tried using this code:
But when I click edit I get this error: Object doesn't support property or method 'getToolByName'
I have an editor(telerik:RadEditor) inside a List(telerik:RadListView), when the user clicks edit it will display the editor. I want to disable some buttons the user should not see, I tried using this code:
<
script
>
function OnClientLoad(editor) {
var oTool = editor.getToolByName("SpellCheck");
var icon = oTool.GetIcon();
icon.style.display = "none";
}
</
script
>
<telerik:RadEditor OnClientLoad="OnClientLoad" ....
But when I click edit I get this error: Object doesn't support property or method 'getToolByName'