Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer Event 1

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
Here is a crazy question that may show I am a novice, but is there a Timer or OnTimer event for an ASP.Net page?

For windows forms and Access forms you have a timer event that will run code after a set time.

Is there something simular here?


ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
I don't believe there is a Timer control from the Toolbox for a web app, however, you can use the System.Threading.Timer object you can use in code.
 
Hello ca8msm,

I want it to serve as a splash page when the app first opens. It will display the company logo then redirect to the main page.

Any suggestions.

Now that I think about it, it sounds like a flash page without the flash.


ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
That's fairly easy to achieve.You can use a meta tag to redirect the browser to a new page like so:
Code:
<meta http-equiv="refresh" content="10;url=http://www.mysite.com/page2.aspx">
The "10" is the number of seconds to wait before the redirect happens.


____________________________________________________________
Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]

Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
 
Thanks Mark,

I visited your site last night. Nice.

Thanks again.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top