?
Solved

Reload an ASP.NET page every 5 Minutes

Posted on 2003-03-20
1
Medium Priority
?
314 Views
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?
0
Comment
Question by:gandrika
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
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.

Example

<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">

Example2

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

801 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