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
Post a Comment