Skip to main content

ASPxClientPopupControl.ShowWindowAtPos(window, x, y) Method

Invokes the popup control’s specific popup window at the specified position.


    window: ASPxClientPopupWindow,
    x: number,
    y: number
): void


Name Type Description
window ASPxClientPopupWindow

A ASPxClientPopupWindow object representing the popup window to display.

x number

The x-coordinate of the popup window’s display position.

y number

The y-coordinate of the popup window’s display position.


Use the ShowWindowAtPos method on the client side to display the popup control’s window which is specified by the window parameter 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 a popup window at the mouse cursor position.

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

See Also