PersistActualPage

3 replies. Last post: April 6, 2010 10:05 PM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi.

I want to persist the actual page index in a session variable so then the next time the page loads, load the last page viewed.

I´m using classic paging with a ObjectDataSource control.

For example, the first time the page loads shows a total of 10 pages, the user navigates to the 5th, then select a row to perform actions in other pages, after all the actions in those several pages the user returns to the original one, and the first page loaded in that page should be the 5th.

I noticed there is a javascript function WebGrid.GotoPage(), but i want to avoid round trips to the database.

¿How can i accomplish this?

All times are GMT -5. The time now is 2:24 AM.
Previous Next