Skip to main content

PopupControlSettingsBase.SaveStateToCookies Property

Gets or sets a value that specifies whether cookies are used to persist the state of the popup control’s windows (for PopupControl extension) or a dock panel (for DockPanel extension).

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool SaveStateToCookies { get; set; }

Property Value

Type Description
Boolean

true if information is persisted in cookies; otherwise, false.

Remarks

Use the SaveStateToCookies property to control whether a cookie is used to maintain information about each popup window’s visibility and position (for PopupControl extension); or visibility, an owner zone, position within the zone, allowed dock state, size, and position of a dock panel (for DockPanel extension). If the browser or device supports cookies, then cookies are used to persist this information; otherwise, information is lost between different requests for the same page from the client device’s browser.

When this property is set to true, the PopupControlSettingsBase.SaveStateToCookiesID property can be also used to specify how the information should be persisted in cookies.

See Also