ASPxDockManager Class
A component that is used to manage panels and zones on a page.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public class ASPxDockManager :
ASPxWebComponent
#Remarks
An ASPxDockManager component allows you to manage all panels (accessed via the ASPxDockManager.Panels property) and zones (accessed via the ASPxDockManager.Zones property) on a page.
#Create a DockManager Control
#Design Time
The ASPxDockManager control is available on the DX.24.2: Navigation & Layout toolbox tab in the Microsoft Visual Studio IDE.
Drag the control onto a form and customize the control’s settings, or paste the control’s markup in the page’s source code.
<dx:ASPxDockManager ID="dockManager" runat="server" ClientInstanceName="ClientDockManager" FreezeLayout="true" />
#Run Time
using DevExpress.Web;
...
protected void Page_Load(object sender, EventArgs e)
{
ASPxDockManager dockManager = new ASPxDockManager();
dockManager.ID = "dockManager";
Page.Form.Controls.Add(dockManager);
dockManager.ClientInstanceName = "ClientDockManager";
dockManager.FreezeLayout = true;
}
Note
DevExpress controls require that you register special modules, handlers, and options in the Web.
Use the ASPxDockManager.FreezeLayout property to control whether an end-user can change a panel’s dock state, and rearrange panels within a zone by dragging them. Set this property to true
to prohibit an end-user from changing the docking layout.
The ASPxDockManager component provides the ability to reset a layout to its initial state using the ASPxDockManager.ResetLayoutToInitial method.
Note
The ASPx
- The component’s client-side equivalent is the ASPx
Client object.Dock Manager - On the client side, the client object can be accessed directly, by the name specified via the ASPx
Dock property.Manager. Client Instance Name - The available client events can be accessed by using the ASPx
Dock property.Manager. Client Side Events
The component’s client-side API is enabled if the ASPx