• Retrieves the UpObject associated with the provided key, which can be an element's GUID, ID or HTMLElement.

    The UpObject is a unique control object used for interacting with older controls.

    Parameters

    • key: string | HTMLElement

      The GUID, ID or HTMLElement of the element.

    • settings: Partial<ControlContext> = ...

    Returns ControlLike | null

    The UpControl-like object corresponding to the first HTML element found.

    Deprecated

    ⚠️ Please use the newer function getControl instead, as it can handle both older and newer controls.

    Example

    // Retrieve the control object using the GUID of an element
    ix.util.getUp("<ELEMENT-GUID>");