Refreshing any page after certain interval in asp.net can be done simply by
Response.AppendHeader("Refresh", "20; URL=.aspx")
This method will reload the current window after interval mentioned in the second parameter to the page which is mentioned as URL to refresh. In this case page will be refreshed after 20 seconds.
Asp.Net 2.0ASP.NETasp.net 2.0 asp.netBrowserASP.NET SitesASP.net 2.0 Tutorials.Net FAQ Links.NET Interview QuestionsC# codeasp.NET 2.0 asp.net control template referencing codebehind findcontrolAsp.NET2.0ASP.NET.NET 2.0
None
0 Points
1 Post
Refreshing any page after certain interval
May 23, 2007 07:52 AM|tanmoysa|LINK
Refreshing any page after certain interval in asp.net can be done simply by
Response.AppendHeader("Refresh", "20; URL=.aspx")
This method will reload the current window after interval mentioned in the second parameter to the page which is mentioned as URL to refresh. In this case page will be refreshed after 20 seconds.
Asp.Net 2.0 ASP.NET asp.net 2.0 asp.net Browser ASP.NET Sites ASP.net 2.0 Tutorials .Net FAQ Links .NET Interview Questions C# code asp.NET 2.0 asp.net control template referencing codebehind findcontrol Asp.NET2.0 ASP.NET.NET 2.0
Participant
1023 Points
435 Posts
Re: Refreshing any page after certain interval
May 24, 2007 04:03 PM|KyD|LINK
You can add a dropdown control....
chkboxMarkAsAnswer.checked = TRUE
END IF
KyD
Star
9617 Points
3788 Posts
Re: Refreshing any page after certain interval
May 26, 2007 03:59 AM|e_screw|LINK
This is another method of refreshing a page, using the META tags in the <head> section
<META HTTP-EQUIV="Refresh" CONTENT="1200"> (Refreshes the page in 1200 seconds)
<META HTTP-EQUIV="Refresh" CONTENT="10;URL=http://www.newsite.com"> (Refreshes the page in 10 seconds by loading the url specified)
Thanks
Electronic Screw
Website||Blog||Dub@i.net