Ajax steps in browser history in .NET 3.5
.NET 3.5 has new functionality in the scriptmanager object to handle putting ajax "steps" in the browser history.
By setting EnableHistory="True" you can add items to the history in your codebehind, and respond to them with OnNavigate (in scriptmanager)
The great thing about it is you can put in history items whenever you choose and respond to them how you would like, so the process of stepping back can make sense.
Look at the code in this zip (with both version for plain .NET and using Telerik controls)
ajaxhistory.zip
By setting EnableHistory="True" you can add items to the history in your codebehind, and respond to them with OnNavigate (in scriptmanager)
The great thing about it is you can put in history items whenever you choose and respond to them how you would like, so the process of stepping back can make sense.
Look at the code in this zip (with both version for plain .NET and using Telerik controls)
ajaxhistory.zip
Labels: .net, ajax, back, browser, history, scriptmanager, skipping, telerik, update

3 Comments:
There seems to be some issues with this and IE 6/7, that will be fixed in .NET 4
The link seems to be broken?
I use telerik and would love to see this example.
I've fixed the link, but the issues with IE 6/7 will be a problem until .NET 4
Post a Comment
Subscribe to Post Comments [Atom]
<< Home