Easily solve the page scroll to the top after the page

xiaoxiao2021-03-06  20

Easily solve the page scroll to the top after the page

The page scrolls to the top after the page. The reason for this problem is that the page is back. In fact, it is equivalent to loading a page, and the newly loaded page will point to the top of the page. This feature will cause a poor user feel, how to solve this problem, we can use the hidden ViewState mechanism to save the current page scrolling position, call back after the page.

转载请注明原文地址:https://www.9cbs.com/read-42784.html

New Post(0)