ASPxClientHtmlEditor.CustomDialogClosing Event
Fires on the client side before a custom dialog is closed.
Declaration
CustomDialogClosing: ASPxClientEvent<ASPxClientHtmlEditorCustomDialogClosingEventHandler<ASPxClientHtmlEditor>>
Event Data
The CustomDialogClosing event's data class is ASPxClientHtmlEditorCustomDialogClosingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
handled | Gets or sets a value specifying whether the event was handled. |
name | Gets the name that uniquely identifies the processed custom dialog. Inherited from ASPxClientHtmlEditorCustomDialogEventArgs. |
status | Gets the status of the closed custom dialog. Inherited from ASPxClientHtmlEditorCustomDialogCloseEventArgsBase. |
Remarks
Write a CustomDialogClosing event handler to perform a specific actions on the client side each time a custom dialog is going to be closed. You can use the event parameter’s properties to identify the name of the custom dialog (ASPxClientHtmlEditorCustomDialogEventArgs.name) and its status (ASPxClientHtmlEditorCustomDialogCloseEventArgsBase.status)
Note
When handling the CustomDialogClosing event, the ASPxClientHtmlEditorCustomDialogClosingEventArgs.handled property should be set to true, to indicate that default processing is not required.