ASPxClientHtmlEditor.CommandExecuting Event
In This Article
Occurs before a default or custom command has been executed and allows you to cancel the action.
#Declaration
TypeScript
CommandExecuting: ASPxClientEvent<ASPxClientHtmlEditorCommandExecutingEventHandler<ASPxClientHtmlEditor>>
#Event Data
The CommandExecuting event's data class is ASPxClientHtmlEditorCommandExecutingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel |
Specifies whether to cancel the related action (for example, row edit, export).
Inherited from ASPx |
command |
Gets the name of the processed command. |
parameter | Gets an optional parameter that complements the processed command. |
#Remarks
Use the CommandExecuting event handler to determine the processed command and cancel the action if needed.
To cancel the processed command, set the ASPxClientCancelEventArgs.cancel property to true
.
After a command has been executed, the ASPxClientHtmlEditor.CommandExecuted event is raised.
Note
Do not use the Command
See Also