title: scroll position in div with master page
body: <p>i have a div tag within a content tag as i am using a masterpage which has the forms and body tags.</p>
  
  <pre><code>&lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"&gt;
  
    &lt;div id="xxx"  style="overflow:scroll; height:450px;"&gt;
  
       &lt;asp:GridView ID="GridView1" runat="server" ...&gt;
  
       &lt;/asp:GridView&gt;
  
    &lt;/div&gt;
  &lt;/Content&gt;
  </code></pre>
  
  <p>I wish to maintain the scroll position of the div when any postback happens.</p>
  
  <p>There are jscripts when i search for it but i dont know 
  how do i apply them with the masterpage.</p>
  
  <p>please help if there is an easier way. or how to use javascript with the above code.</p>
  
  <p>Any help is appreciated.. thanks</p>