Skip to main content Property

Gets the name that uniquely identifies the current popup window.


name: string

Property Value

Type Description

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


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.

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

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

Online Demos

See Also