Click here to Skip to main content
15,916,318 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have one small problem. I have a datagrid with custom paging and it works all well. Now within the grid I have a hyperlink column which when click redirect to another page say in edit mode. This feature works well. Now when I come back to original/parent page ( the page containing datagrid) the problem is that it does not show the right page number rather it shows the page content of page number 1. Say what if I was in page number 4 and again i want to land up in the same page.
A help is appreciated.
Thanks to all TECHS who read this SOS call.
Bye.
Wire Man
Posted

1 solution

Store the current page number in a session variable when you load the page check the variable and if it is null show page 1 otherwise show the page number of the stored variable.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900