Back to Devexpress

ASPxClientDockManager.GetPanelByUID(panelUID) Method

aspnet-js-aspxclientdockmanager-dot-getpanelbyuid-x28-paneluid-x29.md

latest1.6 KB
Original Source

ASPxClientDockManager.GetPanelByUID(panelUID) Method

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

Declaration

ts
GetPanelByUID(
    panelUID: string
): ASPxClientDockPanel

Parameters

NameTypeDescription
panelUIDstring

A string value specifying the unique identifier of the panel.

|

Returns

TypeDescription
ASPxClientDockPanel

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

|

Remarks

An ASPxDockManager 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 in a page. Note that if an invalid panel UID is passed via the parameter, this method returns null.

Example

javascript
var panel = manager.GetPanelByUID('MyPanel');
panel.Dock(manager.GetZoneByUID('MyZone'),0);

See Also

GetPanelByUID(panelUID)

GetZoneByUID(zoneUID)

panelUID

Docking

ASPxClientDockManager Class

ASPxClientDockManager Members