The DockManager extension allows you to save and restore a previously saved panel layout. This information includes the settings for control visibility, initial panel docking zone, position within the zone, allowed dock state, size, and panel position on the page. You can save the layout information on the server side (e.g., within the Session) or on the client side using cookies.
To obtain full information about all DockPanel and DockZone extensions on the page, DockManager should be rendered after these extensions. Otherwise, DockManager will not affect the panel or zone appearance.
You can prohibit end-users from docking and undocking panels by setting the DockManagerSettings.FreezeLayout property to true. In this case, changing a panel's dock state and rearranging panels within a zone by drag-and-drop is not permitted.
The code example below demonstrates how to automatically store the layout information in the Session between page reloads.