title: Maintain scroll position of a div within a page on postback
body: <p>I have a div within an aspx page with overflow set to auto. The contents of the div are dynamically created and consists of a list of link buttons. </p>
  
  <pre><code>&lt;div id="div1" style="overflow: auto; height: 100%;"&gt;
  .....
  &lt;/div&gt;
  </code></pre>
  
  <p>When I scoll down in the div and click on any of the link buttons, the page reload loses the scroll position inside the div and takes me to the top of the div. Is there any way to prevent that? </p>
  
  <p>Note that this is for a div inside the page. <code>Page.MaintainScrollPositionOnPostBack()</code> does not work.</p>