ASPxClientPopupMenu.ShowAtPos(x, y) Method

Invokes the popup menu at the specified position.

Declaration

ShowAtPos(
    x: number,
    y: number
): void

Parameters

Name Type Description
x number

An integer value specifying the x-coordinate of the popup menu’s display position.

y number

An integer value specifying the y-coordinate of the popup menu’s display position.

Remarks

Use the ShowAtPos method on the client side to display the popup menu at a position specified by the coordinates which are passed via the x and y parameters. For example, this method can be used to display the popup menu at the mouse cursor position.

Note that when a popup menu is invoked by using the ShowAtPos method, the ASPxPopupMenu.PopupHorizontalAlign and ASPxPopupMenu.PopupVerticalAlign properties are not in effect, while the values of the ASPxPopupMenu.PopupHorizontalOffset and ASPxPopupMenu.PopupVerticalOffset properties are taken into account to calculate the popup menu’s actual display position.

See Also