ASP.NET AJAX UpdatePanel scrolling problem

后端 未结 5 694
春和景丽
春和景丽 2021-01-24 00:16

I\'ll try and be concise:

  1. I have a dropdownlist with Autopostback set to true
  2. I have an UpdatePanel that contains a Label<
5条回答
  •  悲哀的现实
    2021-01-24 00:22

    Try MaintainScrollPositionOnPostback in one of these 3 ways

    • Programmatically - Page.MaintainScrollPositionOnPostBack = true;
    • Page declaration - <%@ Page MaintainScrollPositionOnPostback="true" %>
    • In the web.config -

    You may also need to add this javascript after the scriptmanager declaration:

     
    

提交回复
热议问题