Re-direction to another aspx page

G

Guest

Hi People,

Wondering whether there is a way of being transferred to another aspx page,
after waiting for a couple or more seconds, rather than being transferred
immediately. For example displaying a status message and then being
transferred after 4-5 seconds.

Will wait for valuable feedback.

Thanks,

I.A
 
L

Lionel LASKE

It's not a specific ASPX function but more a HTML related tag.
Try something like this
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta http-equiv="refresh" content="5;
URL=http://urltotransfer/next.aspx;">
<body>
<p>
<a href="http://urltotransfer/next.aspx">You will be automatically
redirected. If you are not
automatically forwarded, please click here to enter.</a></p>
</body>
</html>

Where 5 is the number of second to wait. Caution: it's not a
"Server.Transfer" equivalent so you need a request/reponse to your browser.

Lionel.
 
G

Guest

Hi,

I was actually looking for something which transfers meto the desired page,
after I click on the submit button, but waits for a message box to be
displayed first and then the transfer to take place. I assume this code
automatically refreshes after a certain duration. Am I right in assuming that
?

Thanks,

Irfan
 
L

Lionel LASKE

You're right but you can add a page with a submit button and call my page
from this button.
So I guess you'll have what you expect.

Lionel.


To have your but you just need to call my code (let's say is Transfert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top