Skip to main content

ASPxClientUtils.SetAbsoluteX(element, x) Method

Sets the x-coordinate of the specified element’s top left corner relative to the client area of the window, excluding scroll bars.

Declaration

static SetAbsoluteX(
    element: any,
    x: number
): void

Parameters

Name Type Description
element any

An object identifying the HTML element whose position should be defined.

x number

The required element’s x-coordinate, in pixels.

Remarks

Use the SetAbsoluteX and ASPxClientUtils.SetAbsoluteY methods to specify the absolute position of a specific element’s top-left corner regardless of scrolling applied to the window’s client region. These are universal methods which can be used under all supported browsers.

See Also