ASPxClientHtmlEditor.SpellingChecked Event
Occurs on the client side after the editor content is spell checked.
Declaration
SpellingChecked: ASPxClientEvent<ASPxClientEventHandler<ASPxClientHtmlEditor>>
Event Data
The SpellingChecked event's data class is ASPxClientEventArgs.
Remarks
Write an SpellingChecked event handler to perform specific actions on the client side following every spell check.
Example
The code sample below demonstrates how you can handle the ASPxClientHtmlEditor.SpellingChecked
event to check several editors, one after another, by just clicking a button.
editors=[];
unCheckedEditors=[];
function check() {
unCheckedEditors=unCheckedEditors.concat(editors);
unCheckedEditors[0].ExecuteCommand(ASPxClientCommandConsts.CHECKSPELLING_COMMAND);
}
function registerEditor(s,e) {
editors.push(s);
}
function checkNext(s,e) {
unCheckedEditors.splice(0,1);
if(unCheckedEditors.length > 0)
unCheckedEditors[0].ExecuteCommand(ASPxClientCommandConsts.CHECKSPELLING_COMMAND);
else
alert("Checked!");
}
See Also