Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
ScriptManager Class
 Navigate Event

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Event Navigate As EventHandler(Of HistoryEventArgs)
Visual Basic (Usage)
Dim instance As ScriptManager
Dim handler As EventHandler(Of HistoryEventArgs)

AddHandler instance.Navigate, handler
C#
public event EventHandler<HistoryEventArgs> Navigate
Visual C++
public:
 event EventHandler<HistoryEventArgs^>^ Navigate {
    void add (EventHandler<HistoryEventArgs^>^ value);
    void remove (EventHandler<HistoryEventArgs^>^ value);
}
JScript
JScript does not support events.
ASP.NET
<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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5 SP1
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker