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

ASPxClientPopupControl.GetWindowCurrentPopupElementIndex(window) Method

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

Declaration

GetWindowCurrentPopupElementIndex(window: ASPxClientPopupWindow): number

Parameters

Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object that specifies the required popup window.

Returns

Type Description
number

An Int32 value that is the zero-based position of object's ID within the PopupElementID list.

Remarks

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