How to aomatically refresh particular section of a web page Not whole page.
I want to auto refresh 2 different sections of a web page in my website without using javascript.
Please reply.
Try This
<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Timer ID="Timer1" runat="server" Interval="10000" ontick="Timer1_Tick"> </asp:Timer> </ContentTemplate> </asp:UpdatePanel>
.cs
protected void Timer1_Tick(object sender, EventArgs e) { //UpdateDataList(); //You need use this method to refresh the DataList. } or
http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-the-aspnet-ajax-timer-control
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.