Skip to main content

ASPxClientPopupControl.GetWindowCurrentPopupElementIndex(window) Method

Returns an index of the object that invoked the specified popup window, within the window’s PopupWindow.PopupElementID list.


    window: ASPxClientPopupWindow
): number


Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object that specifies the required popup window.


Type Description

The zero-based position of object’s ID within the PopupElementID list.


The ASPxPopupControl contains IDs of objects that can invoke a popup window within the window’s PopupWindow.PopupElementID property. Use the GetWindowCurrentPopupElementIndex method to get an index of the last object that invoked the specified window within the PopupElementID list. If the window has not been shown yet, the method returns the 0 (zero).

You can get the object that invoked the window using the ASPxClientPopupControl.GetWindowCurrentPopupElement method.

See Also