Skip to main content

ASPxClientPopupControl.UpdatePositionAtElement(htmlElement) Method

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

Declaration

UpdatePositionAtElement(
    htmlElement: any
): void

Parameters

Name Type Description
htmlElement any

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

Remarks

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

See Also