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

ASPxPopupControl.ClientSideEvents Property

Gets an object that lists the client-side events specific to the current popup control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public PopupControlClientSideEvents ClientSideEvents { get; }

Property Value

Type Description
PopupControlClientSideEvents

A PopupControlClientSideEvents object which allows assigning handlers to the client-side events available to the popup control.

Remarks

The ClientSideEvents property provides access to an object of the PopupControlClientSideEvents type. This object contains properties whose names correspond to the events available to a popup control on the client side. These properties provide the ability to assign JavaScript handlers to the required client-side events of the popup control.

Example

This example demonstrates how nested popup windows can be displayed using the ASPxPopupControl.

function KeyHandler(e) {
        if (e.keyCode == 27)
            if (window2.IsVisible())
                window2.Hide();
            else if (window1.IsVisible())
                window1.Hide();
            else
                return false;
        return true;
}
See Also