Cookies Support

  • 2 min to read

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

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.

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.