Hello, I need some help.
Currently, I have a gridview that will update with the timer and also a button when clicked, will update the gridview.
So now, I am currently facing a problem regarding when scrolling the updatepanel/gridview, I would like it to remain at scrollbar position. But when I click on the button, I will like the updatepanel/gridview to return to bottom (already have the javascript).
Thanks in advance!
<div id="scrollChat" style="overflow: auto; width: 80%; height: 250px; margin-left: auto;
margin-right: auto;">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Timer ID="timer" runat="server" OnTick="timer_Tick" Interval="2000">
</asp:Timer>
<asp:UpdatePanel ID="upChat" runat="server ...
Go to the complete details ...