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

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.

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