Quick question...
I have created a custom pool builder in my store. In it, I am updating querystrings before doing partial postbacks in order to keep variables straight, like temporary basket id, the step I am on, etc.
The problem I am having now is this...
After the temp basket is added to the real shopping cart, if the customer hits the "back" button, the ajax page starts over from the first step (which wouldn't be bad), but stalls out the first time a new item is selected, due to a uninitialized object.
Now, this wouldn't be hard if somehow I could update client browser history to show the last step I left off on, or, if asp .net could recognize that the page was navigated to via the back button.
I am completely inexperienced in this particular problem. I just thought I would post it here in case anyone has had (and hopefully fixed) difficulties of this sort.
Here is a link to one of my pool builder pages. http://www.poolgeek.com/CategoryGrid2.a ... goryId=818
Thanks for any help you can give me!
Scott
Ajax and the Back button
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Ajax and the Back button
You could do like I saw on a government website for defense contractors -- Warnings about Don't Hit the back Button!!
I don't know if it will help, but I thought I read that .net 3.5 handles the back button better for Ajax, or maybe I read that.
I don't know if it will help, but I thought I read that .net 3.5 handles the back button better for Ajax, or maybe I read that.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Ajax and the Back button
With 3.5 and extensions, there is an option for scriptmanger to allow history, essentially giving you the option to create history points that will allow for the page left off on to be the current page when navigating back.
Short of changing to 3.5, though, I need to find a solution that will work for me...
Any ideas??
Short of changing to 3.5, though, I need to find a solution that will work for me...
Any ideas??
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Ajax and the Back button
Nope, unless Google. I thought you had switched to .net 3.5, but looking back, I see it was your dev site.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx