G
Guest
I am using asp.net 2003/ visual c# 2003.
I have a timer event that sets a value assigned to a text box. With the
debugger, I can tell the event is being executed but the screen is not being
activated:
=========
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
x = "timed event";
Text = x;
Text1.Value = x;
}
=================
In the same application is a button-click event that does work:
===========
private void Button1_Click(object sender, System.EventArgs e)
{
x = Text;
if ( x != "Hello" )
x="Hello";
else
x="Bye";
Text = x;
Text1.Value = x;
}
================
So how do I get the timer event to cause the display in the browser to update?
I have a timer event that sets a value assigned to a text box. With the
debugger, I can tell the event is being executed but the screen is not being
activated:
=========
private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
x = "timed event";
Text = x;
Text1.Value = x;
}
=================
In the same application is a button-click event that does work:
===========
private void Button1_Click(object sender, System.EventArgs e)
{
x = Text;
if ( x != "Hello" )
x="Hello";
else
x="Bye";
Text = x;
Text1.Value = x;
}
================
So how do I get the timer event to cause the display in the browser to update?