Supports ScrollPositionOnPostBack in ASP.NET MVC

How to maintain scroll position during postback in ASP.NET MVC? The directive supports ScrollPositionOnPostBack on the page and in web.Config does not seem to apply.

+3
source share
2 answers

ASP.NET MVC no longer has PostBacks. There's a nice jquery scrollsaver plugin worth checking out.

+3
source

Not related to PostBack, but this answer helped me maintain the scroll position after submitting the form:
How to save the scroll position in MVC?

0
source

Source: https://habr.com/ru/post/1787958/


All Articles