Freigeben über


Sys.Application.navigate Event

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

For a live code example that demonstrates this event in action, and a view of the Sys.Application class used in code, see Managing Browser History Using Client Script.

Sys.Application.add_navigate(handler);
Sys.Application.remove_navigate(handler);

Parameters

Argument

Definition

handler

The delegate function to bind to, or unbind from, the navigate event.

Remarks

When a user clicks the browser's Back button, the browser navigates through previously viewed URLs, which will include URLs that contain history state data. Client code in the Web page detects that the URL contains history state data (either server or client), and then raises the client navigate event. You can handle this event to re-create the state of the Web application.

See Also

Reference

Sys.Application