ASPxClientPopupControl.CloseButtonClick Event

Occurs when a user clicks the popup window's close button.


CloseButtonClick: ASPxClientEvent<ASPxClientPopupWindowEventHandler<ASPxClientPopupControl>>

Event Data

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

Property Description
window Gets the popup window object related to the event.


Handle the CloseButtonClick event to perform specific actions on the client side when a user clicks the close button.

The following example illustrates how to handle the CloseButtonClick client-side event.

    // ...
    <ClientSideEvents CloseButtonClick="popup_CloseButtonClick" />

<script type="text/javascript">
    function popup_CloseButtonClick(s,e)
        if ( == 'window1') 
            // your logic

Online Demos

See Also