Skip to main content

ASPxDockManager Class

A component that is used to manage panels and zones on a page.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public class ASPxDockManager :


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.23.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";

    dockManager.ClientInstanceName = "ClientDockManager";
    dockManager.FreezeLayout = true;


DevExpress controls require that you register special modules, handlers, and options in the Web.config file. You can change this file or switch to the Design tab in the Microsoft Visual Studio IDE to automatically update the Web.config file. Note that this information is automatically registered if you use the DevExpress Template Gallery to create a project.

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.


The ASPxDockManager component provides you with a comprehensive client-side functionality, implemented using JavaScript code:

The component’s client-side API is enabled if the ASPxDockManager.ClientInstanceName property is defined, or any client event is handled.

See Also