This topic is locked

Back to List - where you were

10/9/2006 5:30:20 AM
ASPRunnerPro General questions
R
rgke author

One of my users likes to display all the records on the list page (rather than have it split into multiples of say 20 items each).
He goes through updating each record serially, and has complained that after editing the record and hitting the Back to list button, the list page always goes back to the top of the list so he has to scroll down.
I have explained that the page refreshes so it has his updates. However is there any way of sorting it so he can just go back to the list where he was, even if it means it does not show the updates he has just done? (Using the back button seems to refresh the page even if you set the Internet Options to not do so)

Sergey Kornilov admin 10/9/2006

Not sure if this is easy doable.
Theoretically you can modify list page to insert an anchor after each ten records. Each View/Edit link should also pass the closest anchor name to Edit/View pages. On Edit/View page you can use this info to build a correct "Back to list" URL which should look like this:
<a href=table_list.asp#anchor2>Back to list</a>
In this case page will be scrolled to require position.

R
rgke author 10/9/2006

OK, this is a interesting idea. I'll see if I can get it to work. Thanks