Page scrolls up on update ?

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
 
M

Masudur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top