ASPxClientDockManager.GetZoneByUID(zoneUID) Method

Returns a zone specified by its unique identifier (zoneUID).

Declaration

GetZoneByUID(
    zoneUID: string
): ASPxClientDockZone

Parameters

Name Type Description
zoneUID string

A string value specifying the unique identifier of the zone.

Returns

Type Description
ASPxClientDockZone

An ASPxClientDockZone object that is the zone with the specified unique identifier.

Remarks

An ASPxDockManager control's client-side functionality allows an individual zone to be accessed programmatically. The GetZoneByUID method gets a client zone object specified by its unique identifier. A zone's UID is defined by the ZoneUID property.

This method searches the specified zone amongst all zones in a page. Note that if an invalid zone UID is passed via the parameter, this method returns null.

Examples

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