gridview position

I have a gridview which displays a long, long, long list of records. If i were to select a record from the middle of the gridview for edititng when i click on update or cancel the web page is scrolled to the top.

Is there a way in which I can tell my code that it needs to scroll down to the record which I was dealing with.
Who is Participating?
angus_young_acdcConnect With a Mentor Commented:
When you click the button to update the grid you could take the index of the currently active row before performing your update.  Then state after the update that the new active row is index Y.
Mr_ShawAuthor Commented:
i can't see anything in the intellisence which would allow me to set a new active row index
There isn't one really.  You're just changing the index from the first row, to whatever row you want.  
Mr_ShawAuthor Commented:
thanks for your help...

the answer to my question is to use the page scroll position
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.