Hello Ryan,
As for the timer component, I assume that you're going to perform some
constant operations in your ASP.NET application. Is this operation
specific to individual webform page or is a application wide
operations(like a backgroun worker...)? The article Cor has provided
demonstrates how to create javascript client-side timer which will
constantly call a script function in the web page's client-sdie html
document. However, if what you want is a server-side backgroun timer, I
think you would need to create a server-side background worker thread or
a
System.Timers.Timer instance to do the work .e.g.
==================
void Application_Start(object sender, EventArgs e)
{
Timer timer = new System.Timers.Timer();
HttpContext.Current.Application["g_timer"] = timer;
timer.Elapsed += new ElapsedEventHandler(this.OnTimedEvent);
timer.Interval = 4000;
timer.Enabled = true;
}
===========================
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)