473,385 Members | 1,593 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,385 software developers and data experts.

Redirecting page after 5 seconds?

How do I get a page to redirect to another after a set time period? I've
seen JavaScript code that will redirect to a given URL after 5 seconds bu am
unsure how to embed this into an ASP.NET page. I'd like to display a message
to the user and then jump to another page after 5 seconds.

Kind regards

Ben

Nov 18 '05 #1
1 3705
"Ben Fidge" <be*******@btopenworld.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
How do I get a page to redirect to another after a set time period? I've
seen JavaScript code that will redirect to a given URL after 5 seconds bu am unsure how to embed this into an ASP.NET page. I'd like to display a message to the user and then jump to another page after 5 seconds.


ASP.NET will run client-side JavaScript unmodified. Just include it on your
page and refer to is just as it was in a plain old HTML page.
Nov 18 '05 #2

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

Similar topics

0
by: merdaad | last post by:
I am doing a database search from inside my class (vb) file. I get back lines of data which I would like to display in a new HTML page. After I complete my search and find the records, I want...
3
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the...
2
by: Bill Hauver | last post by:
I am attempting to display a web page which simple displays a 'Please wait, generating report...' message before I redirect a user to another web page. I can't figure out where to put the redirect...
4
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you...
1
by: Richard Clark | last post by:
I have a page with a MultiView control. The page finishes by running a report (via a page redirect). Because there is often a delay with ReportsServer, I want to display a "final" view of "Report...
1
by: Nitinkcv | last post by:
Hi, Im currently working with ASP.NET in C#. Is there a way in which i could say redirect to a page say whithin 5 seconds. For eg using Response.Redirect("admin.aspx") i could go to the...
2
by: JJ | last post by:
I used this to redirect a page after a delay of 8 seconds: this.Response.AddHeader("Refresh", "8;URL=mylocalurl") However I notice that the page I am redirected to is also refreshed again in 8...
41
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to...
2
by: lotaro | last post by:
I know how to make a web page redirects to another web page in x seconds. Now there's another question stuck in my head. How to make the web page redirect after the page is loaded?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.