Wednesday, February 11, 2009

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

Labels: , , , , , , , ,

3 Comments:

Blogger Jiro Feingold said...

There seems to be some issues with this and IE 6/7, that will be fixed in .NET 4

9:47 AM  
Anonymous Anonymous said...

The link seems to be broken?
I use telerik and would love to see this example.

3:23 PM  
Blogger Jiro Feingold said...

I've fixed the link, but the issues with IE 6/7 will be a problem until .NET 4

3:59 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home