Page scrolls up on update ?

  • Thread starter Thread starter luqman
  • Start date Start date
L

luqman

Whenever I Insert or Update the GridView Control, the page scrolls up.

I have about 50 Rows in GridView and say, when I edit the Row No. 45 and
click on Update Button of the GridView, the page refreshes itself and goes
to the top row, how can I restrict this Page to position to the last edited
Row. Is is something related to ViewState Property ?

Best Regards,

Luqman
 
Whenever I Insert or Update the GridView Control, the page scrolls up.

I have about 50 Rows in GridView and say, when I edit the Row No. 45 and
click on Update Button of the GridView, the page refreshes itself and goes
to the top row, how can I restrict this Page to position to the last edited
Row. Is is something related to ViewState Property ?

Best Regards,

Luqman

Hi...

set your pages MaintainScrollPositionOnPostback attribute to true...

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com
 
Back
Top