473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

autorefresh aspx

Hi,

I know how can I cache the ASPX page or any control on this page.

But how can I refresh ASPX page automatically every xx seconds? Any script?
I need my application to go to the server and reload automatically some data
from the database. I can place some code to On_LOad, but I suppose that
there is more official and easy way to do the same.

Thanks,
Just D.

Nov 16 '05 #1
2 2094
Hi,
Put following line inside the <head></head> section of the html view of
your aspx page

<meta http-equiv="refresh" content="5">

The above line refreshs the page every 5 seconds, you can set the
interval by changing the value of content.
Regards
benny

Just D wrote:
Hi,

I know how can I cache the ASPX page or any control on this page.

But how can I refresh ASPX page automatically every xx seconds? Any
script? I need my application to go to the server and reload
automatically some data from the database. I can place some code to
On_LOad, but I suppose that there is more official and easy way to do
the same.

Thanks,
Just D.


Nov 16 '05 #2
Hi,

Thanks a lot! Works fine.

Thanks,
Just D.

"Benny Mathew"
Put following line inside the <head></head> section of the html view of
your aspx page

<meta http-equiv="refresh" content="5">

The above line refreshs the page every 5 seconds, you can set the
interval by changing the value of content.
Regards
benny


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ariel | last post by:
Hi, I have this problem: In my intranet I use a hidden frame that autorefresh every 30 seconds. That page records a hit into SQL Server thats indicates to me the user still on-line. I use this:...
0
by: gregoryenelson | last post by:
I have a system where a user views info on a screen, then optionally goes into other screens where the database is altered -- user the returns to original screen. The original screen is...
3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
1
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with...
3
by: DavidS | last post by:
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then...
7
by: Edward | last post by:
How can I automatically send another page to the users webbrowser (preferable in c#)? So, somebody is looking at a webpage and after some processing at the server, I want to show this user another...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
24
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX...
1
paulrajj
by: paulrajj | last post by:
How To Autorefresh div Every Two Minutes using php and ajax thanks in advance
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.