Answered by:
how to lock scroll position of gridview?

Question
-
User-1644430664 posted
Hi,
i have one grid when we clicks on gridview row then data populates on the page but when we scroll down to grid and click on row then after data populate scroll set on top but i want to fix previous position of scroll
thanks
Monday, October 28, 2013 1:15 PM
Answers
-
User555306248 posted
Hi,
Please try to maintain the scroll position with javascript manually. Here are similar threads:
http://forums.asp.net/t/1193044.aspx
http://forums.asp.net/p/1179909/2004914.aspx#2004914
http://forums.asp.net/t/1156877.aspx
http://basgun.wordpress.com/2008/06/09/maintain-scroll-position-updatepanel-postback/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 31, 2013 12:30 AM
All replies
-
User-927729209 posted
Try the as advise below
http://stackoverflow.com/questions/3562202/setting-a-scrollbar-position
Monday, October 28, 2013 6:08 PM -
User-1635195291 posted
Hi sharma_anurag,
Please refer the threads below:
- Resetting Scroll Position When Using MaintainScrollPositionOnPostback
- Maintain Scroll Bar position of a div within a gridview after a PostBack
Hope this helps.
Thanks,
Jatin
Tuesday, October 29, 2013 10:42 PM -
User-1644430664 posted
Hi All,
thanks for reply
i am tried above refrences but still i am stuck please help me
Wednesday, October 30, 2013 9:13 AM -
User555306248 posted
Hi,
Please try to maintain the scroll position with javascript manually. Here are similar threads:
http://forums.asp.net/t/1193044.aspx
http://forums.asp.net/p/1179909/2004914.aspx#2004914
http://forums.asp.net/t/1156877.aspx
http://basgun.wordpress.com/2008/06/09/maintain-scroll-position-updatepanel-postback/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, October 31, 2013 12:30 AM