Click here to Skip to main content
15,921,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a gridview in update panel. as well my ASP.net page is inheriting from Master Page. When i am click On
Selected index changed event of gridview. then the page scroll is not maintaining at its position. the scroll 
is  Reloading. I tried Page MaintainScrollPositionOnPostback="true" but it still not working. As Well try with 
Other Javascript code but still facing some issued 


What I have tried:

i have Also tried from backend with MyGrid.SelectedRow.Focus(); but here it is Selecting FIrst row of my gridview.
Posted
Updated 2-Mar-17 22:55pm

1 solution

Hope this will help you.

you have to set smartNavigation for your gridview using javascript.

https://www.codeproject.com/Articles/12466/Smart-Navigation-in-Scrollable-Web-Controls
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900