how to show a page for 45 seconds in dot net

S

srinivas

Hi,

First i need to say my heartful thanks to google groups.So many things
are clarified by some of the experts.

Now I have a requirement.Basically our site have 5 pages.When we
navigate to thankyou.aspx page we need to show the thankyou.aspx page
for 45 seconds,after completion of 45 seconds it needs to redirect to
another site.is there any function to do this.if it is please post the
code.


Thanks,
Srinivas
 
J

jdlwright

Rather than looking for a pure .net soln, you probably should just add
a meta refresh tag to your page (sorry I ALWAYS forget this syntax, but
u can find it easily I'm sure).

Otherwise you can call page.registerstartupscript and add something
like

setTimeout("location.href='page2.aspx'", 45000);

sorry, aircode not my specialty so I leave it in your good hands.

Jim
 

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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top