SCREENCAST: Managing Browser History Using Client Script Without ScriptManager

NOTE: This was cross posted from here .

ASP.NET Ajax has a great feature that helps make it easy to enable back/forward button and bookmarking support in your Ajax applications.  However, most people think you need ASP.NET WebForms and the ScriptManager control to take advantage of this feature.  Furthermore, most people think you actually have to be using ASP.NET to take advantage of these capabilities.  You don’t.  There’s a walkthrough on MSDN showing how to use this capability purely from client side JavaScript:

Managing Browser History Using Client Script

Basically, the walkthrough shows you how to use Sys.Application.navigate event and the Sys.Application.addHistoryPoint method.  Once you understand these two, it is pretty simple. 

The challenge with MSDN sample is that it leaves the reader to figure out how to accomplish the same thing without ASP.NET WebForms and the ScriptManager control.  In this screencast, I take the guesswork out of it and show you how implement the sample without the ScriptManager as well as doing it using ASP.NET MVC.

Get Microsoft Silverlight

Direct link to Ch. 9 post:

https://channel9.msdn.com/posts/keydet/Managing-Browser-History-Using-Client-Script-Without-ScriptManager/

Sample Download:

https://tinyurl.com/devkeydetAjaxHistorySamples

-Marc