Hii all,
In one my child page i've an updatepanel which contains a gridview .The gridview displays huge amt of data (~3 pages of data) and the updatepanel refreshes for every 1 sec,for tht i've used timer control, to get the updated data from the server.for that i've used one timer.
The problem is ,the webpages scroll bar(both horizontal and vertical) is repositioning to the starting position after every refresh.
This is what the code ...
Can anybody kindly tell me why this scrollbar refreshing is happening .
Thanks in advance..
Rgds,
BTR.
In one my child page i've an updatepanel which contains a gridview .The gridview displays huge amt of data (~3 pages of data) and the updatepanel refreshes for every 1 sec,for tht i've used timer control, to get the updated data from the server.for that i've used one timer.
The problem is ,the webpages scroll bar(both horizontal and vertical) is repositioning to the starting position after every refresh.
Code:
<asp:Timer ID="TimerSystem" runat="server" OnTick="OnTick_TimerSystem" Interval="2000"> </asp:Timer> <asp:UpdatePanel ID="UpnlSystem" runat="server" UpdateMode="Conditional"> <triggers> <asp:AsyncPostBackTrigger ControlID="TimerSystem" EventName="Tick" /> </triggers> <contenttemplate> <asp:GridView ID="GridViewSystem" runat="server" CellPadding="4DataSourceID="SystemCounterOds"> </asp:GridView> </contenttemplate> </asp:UpdatePanel>
Can anybody kindly tell me why this scrollbar refreshing is happening .
Thanks in advance..
Rgds,
BTR.
Comment