How to handle browser back button with Ajax

V

verci

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
 
M

Masudur

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

Hi....

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

http://groups.google.com/group/micr...52740/9a598f3abd04d1f6?hl=en#9a598f3abd04d1f6

Thanks...

Thanks...
Masudur
http://www.kaz.com.bd
http://munnacs.blogspot.com
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top