ASPxClientPopupMenu.ShowAtElement(htmlElement) Method

Invokes the popup menu and displays it over the specified HTML element.

Declaration

ShowAtElement(
    htmlElement: any
): void

Parameters

Name Type Description
htmlElement any

An object specifying the HTML element relative to which position the popup menu is invoked.

Remarks

Use the ShowAtElement method on the client side to display the popup menu at a position which relates to an HTML element specified by the htmlElement parameter. This method can be used, for example, 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 ShowAtElement 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