Export (0) Print
Expand All

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
<asp:ScriptManager OnNavigate="EventHandler" />

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft