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

ASPxClientPopupControl.GetWindow(index) Method

Returns a popup window specified by its index.

Declaration

GetWindow(
    index: number
): ASPxClientPopupWindow

Parameters

Name Type Description
index number

An integer value specifying the zero-based index of the popup window object to be retrieved.

Returns

Type Description
ASPxClientPopupWindow

An ASPxClientPopupWindow object representing the popup window located at the specified index within the control’s ASPxPopupControl.Windows collection.

Remarks

The popup control’s client-side functionality allows its popup windows to be accessed programmatically on the client side. This method gets a client popup window object specified by its index in the ASPxPopupControl.Windows collection.

Note that the index parameter is zero-based and its upper available value is specified by the ASPxClientPopupControl.GetWindowCount value decremented by one. If an invalid index is passed via the parameter, the method returns null.

This method can be used together with the ASPxClientPopupControl.GetWindowCount method when traversing the popup control’s window list.

See Also