ASPxClientDockManager.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 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