How do I maintain the scroll position on a postback in ASP.NET MVC? The directive maintainScrollPositionOnPostBack on the page and in the web.Config does not seem to apply.
maintainScrollPositionOnPostBack in ASP.NET MVC
6k Views Asked by Keith Adler At
2
There are 2 best solutions below
0

Not PostBack-related, but this answer helped me maintain scroll position after form was submitted:
How do I maintain scroll position in MVC?
There are no longer PostBacks in ASP.NET MVC. There's a nice jquery scrollsaver plugin which is worth checking out.