Posted on: 3/11/2015 8:36:08 PM | Views : 539

HI,
I have a issue with scroll bar for div
I have Div with overflow:scroll and inside the div I have gridview and the gridview has template fields as below:
When I am trying to scroll in the Div and click on any template field. I am able to edit and once I am done with my actions scroll bar moves to the left (to the original position it was) and it does not stay in the position I have moved previously. How to fix this?
div#originalGrid { width: 800px; overflow: scroll; }

<div id="originalGrid" > <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AutoPostBack="true" CellPadding="-1"  Font-Size="Small" HorizontalAlign="Justify" OnRowCommand="GridView1_RowCommand" onrowdatabound="GridView1_RowDataBound" HeaderStyle-Height="47px" > <C ...

Go to the complete details ...