The requested page is not available for the requested platform. You are viewing the content for Default platform.

NavBarSettings.SaveStateToCookies Property

Gets or sets a value that specifies whether cookies are used to persist information about the NavBar's state.

Namespace: DevExpress.Web.Mvc

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

Declaration

public bool SaveStateToCookies { get; set; }
Public Property SaveStateToCookies As Boolean

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 the NavBar. 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 NavBarSettings.SaveStateToCookiesID property can also be used to specify how information should be persisted in cookies.

See Also