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

ASPxClientDockZone.GetPanelByUID(panelUID) Method

Returns a panel specified by its unique identifier (panelUID).

Declaration

GetPanelByUID(
    panelUID: string
): ASPxClientDockPanel

Parameters

Name Type Description
panelUID string

A string value specifying the unique identifier of the panel.

Returns

Type Description
ASPxClientDockPanel

An ASPxClientDockPanel object that is the panel with the specified unique identifier.

Remarks

An ASPxDockZone control’s client-side functionality allows an individual panel to be accessed programmatically. The GetPanelByUID method gets a client panel object specified by its unique identifier. A panel’s UID is defined by the PanelUID property.

This method searches the specified panel amongst all panels contained in the current zone. Note that if an invalid panel UID is passed via the parameter, this method returns null.

In order to access a panel specified by its visible index within a zone, the zone’s ASPxClientDockZone.GetPanelByVisibleIndex method can be used.

See Also