History Support in the Microsoft AJAX Library

You can implement history in JavaScript by serializing the current state of the page or a control and storing that object as a history point. As a user performs actions, history points are saved in the Sys.Application object. These history points are accessed as the user navigates with the Back or Forward button, allowing the user to return to previous application contexts.

To enable history support in the Sys.Application object, you need to set the ScriptManager control to enable history. The property EnableHistory enables AJAX history support for all modern browsers by using a combination of a hidden IFrame, form actions, the URL, and the browser’s native history API. Because different browsers implement ...

Get Developing Service-Oriented AJAX Applications on the Microsoft® Platform now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.