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.
Mr_ShawAsked:
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.
0
 
Mr_ShawAuthor Commented:
i can't see anything in the intellisence which would allow me to set a new active row index
0
 
angus_young_acdcCommented:
There isn't one really.  You're just changing the index from the first row, to whatever row you want.  
0
 
Mr_ShawAuthor Commented:
thanks for your help...

the answer to my question is to use the page scroll position
0
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.