Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptManager.AddHistoryPoint Method (NameValueCollection, String)

Creates a history point and adds it to the browser's history stack, using the specified state data collection and state title.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public void AddHistoryPoint(
	NameValueCollection state,
	string title


Type: System.Collections.Specialized.NameValueCollection

A collection of key/value pairs that contain the data for the state.

Type: System.String

The text that will be added to the browser's history stack as the title for this state.

Use this method to create a history point when you want to save more than one key/value pair for the state data. When you create a history point, serialized and encrypted data is appended to the URL of the Web page and an entry is included in the browser's history stack. If the title parameter is null, the title of the Web page is used as the title of the state entry in the history stack.

You can use the state data to re-create the page when any subsequent server navigation event is raised. For more information, see Managing Browser History Using ASP.NET Server Controls.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
© 2015 Microsoft