Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

asp.net updatepanel autoscroll fix

  <script type="text/javascript">
            var prm = Sys.WebForms.PageRequestManager.getInstance(); 
            prm.add_beginRequest(beginRequest);

            function beginRequest() {
                prm._scrollPosition = null;
            }
         </script>
 
PREVIOUS NEXT
Tagged: #updatepanel #autoscroll #fix
ADD COMMENT
Topic
Name
2+1 =