Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Collapse]Docking and Popups
   [Expand]Product Information
   [Collapse]Docking
     ASPxDocking Overview
    [Collapse]Concepts
      Panel Overview
      Forbidden Zones
      Common Docking Events
      Layout Management
      Cookie Support
    [Expand]Visual Elements
   [Expand]Hint Control
   [Expand]Loading Panel
   [Expand]Popup Control
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Layout Management

ASPxDockManager allows you to save and restore the previously saved information on layout of panels on the page. This information includes the settings that control the visibility, an owner zone, position within the zone, allowed dock state, size, and position of panels on the page.

The ASPxDockManager's ASPxDockManager.ClientLayout event enables you to save the panels' layout each time it is being changed and restore it on the first page load. This event provides the ASPxClientLayoutArgs.LayoutMode property that indicates whether the layout should be saved or restored.

The example below shows how to save/restore the docking layout to/from a session.

ASPxDockManager allows you to reset all panels (dock state, owner zone, size, position, etc.) on the page to the initial (specified in markup) state using the ASPxDockManager.ResetLayoutToInitial method.

You can prohibit end-users from the docking layout changes using the ASPxDockManager.FreezeLayout property. In this case, changing a panel's dock state and rearranging panels within a zone by dragging them is not permitted.

Expanded See Also

How would you rate this topic?​​​​​​​