Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Reload an ASP.NET page every 5 Minutes

Posted on 2003-03-20
Medium Priority
Last Modified: 2012-05-04
I have an ASP.NET page that on submit runs a query and displays report data to the user in a datagrid.  The data is updated every five minutes and users need to see the latest data at all times.  Is there a way to get the onclick event to fire every few minutes, without user interaction, and refresh the data?
Question by:gandrika
1 Comment

Accepted Solution

DrgnCreep earned 200 total points
ID: 8176296
Well as with all Computer Technologies there are about a million ways to skin a cat.

I believe the simplest of these approches is with a MetaTag refresh.  You may also want to consider a JavaScript source if that suits you better.


<META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="300;URL=location.html">


<body onLoad=window.setTimeout" location.href='location.html'",300000)>

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question