Showing posts with label jump to the top of page in UpdatePanel. Show all posts
Showing posts with label jump to the top of page in UpdatePanel. Show all posts

Saturday, March 12, 2011

how can I jump to the top of page using UpdatePanel?


<script type="text/javascript" language="javascript">
  Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
  function EndRequestHandler(sender, args)
  {
  scrollTo(0,0);
  }
<script>