The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientPopupWindow.name Property

Gets the name that uniquely identifies the current popup window.

Declaration

name: string

Property Value

Type Description
string

A string value that represents a value assigned to the popup window's PopupWindow.Name property.

Remarks

Use the name property to get a popup window's name (PopupWindow.Name) that uniquely identifies the window on the client side.

The following example illustrates how to use the name property to access the identify the processed popup window in the CloseButtonClick client-side event handler.

<dx:ASPxPopupControl>
    // ...
    <ClientSideEvents CloseButtonClick="popup_CloseButtonClick" />
</dx:ASPxPopupControl>

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

Online Demos

See Also