ASPxClientPopupMenu.ShowAtElementByID(id) Method

Invokes the popup menu and displays it over an HTML element specified by its unique identifier.


    id: string
): void


Name Type Description
id string

A string value that specifies the hierarchically qualified identifier of an HTML element relative to which position the popup menu is invoked.


Use the ShowAtElementByID method on the client side to display the popup menu at a position which relates to an HTML element specified by the id parameter. The id parameter represents the element’s fully qualified identifier (for server controls this identifier is specified by the ClientID property). The ShowAtElementByID method can be used when it’s necessary to display the popup menu in response to a specific user action not listed by the ASPxPopupMenu.PopupAction property, or over a specific HTML element that differs from the element specified by the ASPxPopupMenu.PopupElementID property.

A call to the ShowAtElementByID method displays the popup menu at a position specified by the ASPxPopupMenu.PopupHorizontalAlign, ASPxPopupMenu.PopupHorizontalOffset, ASPxPopupMenu.PopupVerticalAlign and ASPxPopupMenu.PopupVerticalOffset properties relative to the specified HTML element.

See Also