The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientPopupControlBase.ShowAtPos(x, y) Method

Invokes the control's window at the specified position.

Declaration

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

Parameters

Name Type Description
x number

A integer value specifying the x-coordinate of the window's display position.

y number

A integer value specifying the y-coordinate of the window's display position.

Remarks

Use the ShowAtPos method on the client side, to display the control's window 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 window at the mouse cursor position.

Note

For ASPxPopupControl only:

Note that when a popup window is invoked by using the ShowAtPos 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