ASPxClientDockPanel.IsDocked Method
Returns a value indicating whether the panel is docked.
Declaration
IsDocked(): boolean
Returns
Type | Description |
---|---|
boolean |
|
Remarks
To dock or undock a panel on the client side, use the ASPxClientDockPanel.Dock or ASPxClientDockPanel.MakeFloat methods respectively.
Example
The code sample below demonstrates how you can get a list of docked panels contained within a page.
function IsDockedPredicate (panel) {
return panel.IsDocked();
}
function GetDockedPanelsList () {
var DockedPanels = manager.GetPanels(IsDockedPredicate);
var PanelList = '';
for ( i=0; i < DockedPanels.length; i++){
PanelList = PanelList + ' ' + DockedPanels[i].panelUID;
}
label.SetText('Docked panels:' + PanelList);
}
See Also