Skip to main content
A newer version of this page is available. .

ASPxClientHtmlEditor.DialogInitialized Event

Occurs on the client side after a dialog has been initialized.


DialogInitialized: ASPxClientEvent<ASPxClientHtmlEditorDialogInitializedEventHandler<ASPxClientHtmlEditor>>

Event Data

The DialogInitialized event's data class is ASPxClientHtmlEditorDialogInitializedEventArgs. The following properties provide information specific to this event:

Property Description
dialog Gets a dialog object related to the event.
dialogName Gets the name of the dialog that has been initialized.


Handle the DialogInitialized event to perform specific actions on the client side each time any of the HTML Editor’s dialogs has been initialized. You can use the event parameter’s ASPxClientHtmlEditorDialogInitializedEventArgs.dialogName property to identify the name of the dialog as demonstrated in the code sample below.

    function onDialogInitialized(s, e) {
        if(e.dialogName === ASPxClientCommandConsts.INSERTIMAGE_DIALOG_COMMAND)
            alert("insert image dialog");

<form id="form1" runat="server">
    <dx:ASPxHtmlEditor runat="server">
        <ClientSideEvents DialogInitialized="onDialogInitialized" />
See Also