Private Sub Timer1_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed
Button1.Text = "errrr"
End Sub
But what is the use of this timer contol?
I'd like to work; my plan is to have a label on the web form with text "60", after one second "59", 58" etc.
When the text is "0" (elapsed one minute), want to refresh the page.
ca8msm is right, either that or html. We had a discussion on this topic at some length here at tek-tips a few months ago. The take home message appeared to be to just avoid it - perhaps it will be upgraded in later versions -- but no one in that discussion supported its current use as you are suggesting - unless it is further supported in the latest version of .NET.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.