Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScriptManager::Navigate Event

 

Occurs when the user clicks the browser's Back or Forward button.

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

public:
event EventHandler<HistoryEventArgs^>^ Navigate {
	void add(EventHandler<HistoryEventArgs^>^ value);
	void remove(EventHandler<HistoryEventArgs^>^ value);
}

When a user clicks the browser's Back button, the browser navigates through previously-viewed URLs, which can include URLs that contain history-point state data. If client code in the Web page detects that the URL contains history state data, it makes a request to the server page. This acts as a postback event, and the ScriptManagerProxy server control raises the Navigate event. You can handle this event and re-create the page as required in the Web application by using the state data that is passed with the event.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft