javascript - Maintain scroll position when using Response.Redirect(Request.RawUrl) -


i maintain scroll position when using:

response.redirect(request.rawurl) 

the reason because have button in gridview updates value in grid. after clicking button want update value in gridview, needs response.redirect(request.rawurl) want maintain scroll position.

this not work either:

maintainscrollpositiononpostback="true"  

i have tried other javacript methods , not work well, since refreshing page.

how this?

i fixed it.

i replaced response.redirect(request.rawurl) gridview1.databind()


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World