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 | The x-coordinate of the window’s display position. |
y | number | 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.