Skip to main content

ASPxClientPopupMenu.GetCurrentPopupElement Method

Returns an object that invoked the popup menu.

Declaration

GetCurrentPopupElement(): any

Returns

Type Description
any

An object that invoked the popup menu.

Remarks

The ASPxPopupMenu contains IDs of objects that can invoke a menu within the ASPxPopupMenu.PopupElementID property. Use the GetCurrentPopupElement method to get the last object that invoked the popup menu. If the menu has not been shown yet, the method returns the first element in PopupElementID list.

You can get the popup element index within the list by using the ASPxClientPopupMenu.GetCurrentPopupElementIndex method.

See Also