[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
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [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]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Cookie Support

ASPxDockPanel and ASPxDockManager can use cookies to persist information about dock panels on the page.

Expanded Dock Panel Cookies

To control whether a dock panel cookie is used to maintain panel settings, use the ASPxPopupControlBase.SaveStateToCookies property. When the ASPxPopupControlBase.SaveStateToCookies property is set to true, the ASPxPopupControlBase.SaveStateToCookiesID property can be used to specify the name (identifier) of the cookie.

When the ASPxPopupControlBase.SaveStateToCookies property is set to true, dock panel cookie maintains the following panel settings.

  • Visibility
  • Size (width and height)
  • Position (x- and y-coordinates)
  • Maximize state
  • Minimize state
  • Pin state

If the browser or device supports cookies, then cookies are used to persist the information; otherwise, information is lost between different requests for the same page from the client device's browser.

Expanded Dock Manager Cookies

To control whether or not a dock manager cookie is used to maintain information about all dock panels on the page, use the ASPxDockManager.SaveStateToCookies property. When the ASPxDockManager.SaveStateToCookies property is set to true, the ASPxDockManager.SaveStateToCookiesID property can be used to specify the name (identifier) of the cookie.

When the ASPxDockManager.SaveStateToCookies property is set to true, dock manager cookie maintains the following information about every dock panel on the page.

  • Visibility
  • Size (width and height)
  • Position (x- and y-coordinates)
  • Allowed dock state
  • The unique identifier of a zone that owns the panel.
  • Position amongst the visible panels within the zone (visible index)

If the browser or device supports cookies, then cookies are used to persist the information; otherwise, information is lost between different requests for the same page from the client device's browser.

Is this topic helpful?​​​​​​​