Table of Contents
SaveStateCrossPages Property

Gets or sets the value indicating whether control state should be saved across pages.

Syntax
 public Boolean SaveStateCrossPages { get; set; }
Remarks

EO.Web navigational control can save and pass certain state information across pages. For example, if the site has multiple pages with the same layout (or multiple pages using the same master page in ASP.NET) and the same slide menu appears on all of these pages, the slide menu's expand/selected state information can be saved and pass across this pages. The result is if user expanded one slide pane on Page1.aspx and then navigate to Page2.aspx, the pane that was expanded will keep expanded.

The following information is saved when SaveStateCrossPages is true:

When the control is... Information saved
Menu Selected state
SlideMenu Expanded and selected state
TabStrip Selected tab
TreeView Selected, Expanded and Checked state

In order for cross page state to work, controls in both page must have the same ID. Using a master page in ASP.NET 2.0 would be a good solution to guarantee this.

By default, query string is used to save the state information. You can switch to cookie by setting StateCookieName.

See Also