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

ASPxClientPopupControl.ShowWindowAtPos(window, x, y) Method

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

Declaration

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

Parameters

Name Type Description
window ASPxClientPopupWindow

A ASPxClientPopupWindow object representing the popup window to display.

x number

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

y number

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

Remarks

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