How to maintain scroll position on autopostback?

前端 未结 12 1698
臣服心动
臣服心动 2020-12-30 21:49

How can I get back to the same position of a page on postback. It always seems to get to the top of the page.

I\'ve tried using maintainSc

12条回答
  •  鱼传尺愫
    2020-12-30 22:21

    Note: If you have a default control defined, it will scroll to that control on post back even if Page MaintainScrollPositionOnPostback="true"

提交回复
热议问题