The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientEventArgs type.

Remarks

Write an SpellingChecked event handler to perform specific actions on the client side following every spell check.

Examples

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