Skip to main content

DockManagerSettings.SaveStateToCookiesID Property

Gets or sets the name (identifier) of the cookie in which the information about panels on the page is persisted.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public string SaveStateToCookiesID { get; set; }

Property Value

Type Description
String

A String value specifying a cookie’s name.

Remarks

This property is in effect if the DockManagerSettings.SaveStateToCookies property is set to true.

The SaveStateToCookiesID property allows you to control the manner in which the information about panels on the page is persisted in cookies. If this property is set to an empty string (the default value), the name of the cookie which will store the information is composed automatically, based upon the page name and the component’s identifier. In this case, such a cookie is tightly linked with the requested page, and the corresponding component. In some cases however, it may be required that a cookie’s information be shared between different requested pages. In this case, you can assign any specific identification name to the SaveStateToCookiesID property, and if this name is independent from the page name and the component’s identifier, the information stored by the cookie can be applied to all panels (on all the web pages) whose SaveStateToCookiesID property is set to the same value.

Note

Refer to the RFC 2965 - Section 4.1.1 Syntax document to learn about allowed characters in cookies.

Note

To obtain full information about all DockPanel and DockZone extensions on the page, DockManager should be rendered after them. Otherwise, DockManager cannot affect the panel or zone appearance.

See Also