Return to the selected record in gridview after editing a record in second page

bravo_s82

New member
Joined
Jun 11, 2008
Messages
3
Programming Experience
Beginner
Howdy all,

I have a gridview and i've placed in a panel, to enable scrolling. For each row i have a Edit Button, which takes me to another page, where i can edit the record. On saving, i get redirected back to the page with the scrollable gridview.

I am already saving the gridview1.selectedindex so that i can come back to the same record. However, if the record in down below in the list i still have to scroll down to reach to it again.

How do i get the selected record to the top of the panel, so that the user does not have to scroll down to get to it.

Is there a way the scroll bar position can be saved or something?

Any ideas are much appreciated.

Thanks!
 
Back
Top