all groups > asp.net webcontrols > march 2007 >
You're in the

asp.net webcontrols

group:

How to handle browser back button with Ajax


How to handle browser back button with Ajax verci
3/26/2007 10:38:12 PM
asp.net webcontrols:
Hi guys,

I'm running VS2005, AP.net 2.0, Windows XP SP2

Ok this maybe a dumb question but here it goes, as a newbie I've just
finished my first AJAX enable page, everything works great but, until I
press the back and forward buttons in my browser then the AJAX magic is lost
alongside with all the data in my AJAX controls when I tried to get back to
the AJAX page, can anybody help me solve this issue, I've read that this is
the expected behavior of AJAX but have not been able to find a solution.

Best Regards

Re: How to handle browser back button with Ajax Masudur
3/27/2007 2:25:59 AM
[quoted text, click to view]

Hi....

We have discussed about this issue before ...
Please check out this Issue

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/1be3781198752740/9a598f3abd04d1f6?hl=en#9a598f3abd04d1f6

Thanks...

Thanks...
Masudur
http://www.kaz.com.bd
http://munnacs.blogspot.com
Re: How to handle browser back button with Ajax bruce barker
3/27/2007 8:52:09 AM
you can use the google approach. they run the site in an iframe, which
javascript monitors (their history widget). they support history tokens,
and nav forward/back via the iframe.


note: while css purists hate frames/iframe, ajax sites use them a lot.
you can run async javascript threads via iframes, and maintain client
state between page flips.

-- bruce (sqlwork.com)

[quoted text, click to view]
AddThis Social Bookmark Button