productlist page return..

Jul 22, 2009 at 11:07 PM

Could anyone help me figure out how to make sure that when an item is added to cart and the page refreshes that the page comes back to the same point on the page instead of of returning to the very top part of the page if the client had scrolled to the bottom of the page for a particular item.

By default, if the client scrolls to the bottom of the page to add an item to the cart and the page refreshes, it refreshes to the very top of the page rather to the same view before the item was added to cart.


Jul 23, 2009 at 8:26 AM

Hi Adeo,

I've not thought about this before, but I do think in needs looking at and I will make a note.

I don't think the (maintainScrollPositionOnPostBack="true") in the web config under the pages node will work, as this is for scroll position across postbacks, but you could give it a try.

I think to solve this we may have to change the way the buy button works or look into setting the DNN scrolltop hidden field.