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

ASPxClientPopupControl.GetWindowByName(name) Method

Returns a popup window specified by its name.

Declaration

GetWindowByName(
    name: string
): ASPxClientPopupWindow

Parameters

Name Type Description
name string

A string value specifying the name of the popup window.

Returns

Type Description
ASPxClientPopupWindow

An ASPxClientPopupWindow object that represents the popup window with the specified name.

Remarks

The popup control’s client-side functionality allows popup windows to be accessed programmatically on the client side. This method gets a client popup window object specified by its name. A window’s name is defined by the PopupWindow.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

See Also