Skip to main content

ASPxClientPopupControl.UpdateWindowPositionAtElement(window, htmlElement) Method

Updates the specified popup window’s position, to correctly align it at the specified HTML element.

Declaration

UpdateWindowPositionAtElement(
    window: ASPxClientPopupWindow,
    htmlElement: any
): void

Parameters

Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object that specifies the required popup window.

htmlElement any

An object specifying the HTML element to which the specified popup window is aligned using the ASPxPopupControl.PopupHorizontalAlign and ASPxPopupControl.PopupVerticalAlign properties.

Remarks

The UpdateWindowPositionAtElement method allows you to correctly reposition a specific popup window relative to the specified HTML element after the popup window’s size has been dynamically changed.

See Also