Free Trial Buy Now

Docking - Layout Management

Edit layout

Description

The DockManager extension allows you to respond to end-user operations on panels and zones on a page and manage the layout.

In this demo, extensions from the Docking suite are used for two different purposes: to visualize data blocks on a page using a fixed layout, and to customize the layout of these data blocks via an external page. Both pages (presentation and customization) use the same set of DevExpress docking extensions. The dock panel layout defined in the customization page is preserved and synchronized with the presentation page using the DockManager's ClientLayout event.

To save layout changes, the client-side PerformCallback method should be called in the client-side AfterDock and AfterFloat events. In this demo, only the AfterDock event is handled, because panels can only be in a docked state (the AllowedDockState property is set to DockedOnly).

Note:

  • The DockManager that sends a callback to the server for saving a layout should be defined in a separate partial view, like all callback-aware extensions.
  • To obtain complete information about all DockPanel and DockZone extensions on the page, DockManager should be rendered after these extensions.
Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress MVC Extensions ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.