ASPxClientDockManager.GetPanelByUID(panelUID) Method
In This Article
Returns a panel specified by its unique identifier (panelUID).
#Declaration
TypeScript
GetPanelByUID(
panelUID: string
): ASPxClientDockPanel
#Parameters
Name | Type | Description |
---|---|---|
panel |
string | A string value specifying the unique identifier of the panel. |
#Returns
Type | Description |
---|---|
ASPx |
An ASPx |
#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
var panel = manager.GetPanelByUID('MyPanel');
panel.Dock(manager.GetZoneByUID('MyZone'),0);
See Also