Skip to main content
Tab

ASPxPageControl.SaveStateToCookies Property

Gets or sets a value that specifies whether cookies are used to persist information about the active tab.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(false)]
public bool SaveStateToCookies { get; set; }

Property Value

Type Default Description
Boolean false

true if the active tab’s index is persisted in cookies; otherwise, false.

Remarks

Use the SaveStateToCookies property to control whether a cookie is used to maintain information about the active tab of the page control. If the browser or device supports cookies, then cookies are used to persist the active tab’s index; otherwise, information about the active tab is lost between different requests for the same page from the client device’s browser.

When this property is set to true, the ASPxPageControl.SaveStateToCookiesID property can be also used to specify how the navbar’s state information should be persisted in cookies.

See Also