Skip to main content
A newer version of this page is available. .

ASPxClientHintWindow.UpdatePosition Method

Forces the ASPxClientHint‘s window to recalculate its position.

Declaration

UpdatePosition(): void

Remarks

When the hint is going to be shown, it calculates its window size and chooses the best position at which to appear. The hint’s window size primarily depends on its content. In most cases, the hint content is known before calculating its window’s size. This requires no extra manipulations. The hint may calculate its window size before the content is ready (for example, when the content is obtained via AJAX request). In this case, the hint can’t calculate the correct window’s size and position. To recalculate the position, use the UpdatePosition method.

See Also