DockManagerSettings.ClientLayout Property
Enables you to save and restore the previously saved layout of panels and zones managed by the DockManager.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ASPxClientLayoutHandler | A ASPxClientLayoutHandler method to which custom processing is delegated. |
Remarks
Use the ClientLayout property to save and restore the layout from a data store.
Save Layout
The event parameter’s ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Saving. The ASPxClientLayoutArgs.LayoutData property contains the Docking’s current layout that should be saved, for example, to a database.
Restore Layout
The ASPxClientLayoutArgs.LayoutMode property returns ClientLayoutMode.Loading. Read the Docking’s layout data from a data store and assign it to the ASPxClientLayoutArgs.LayoutData property.
Note
To obtain full information about all DockPanel and DockZone extensions on the page, DockManager should be rendered after them. Otherwise, DockManager cannot affect the panel or zone appearance.