Forum Moderators: open
I had made a small test application to have a timer update a label every 2 seconds, and even tho in debug mode I can see that the elasped event IS hit the label is NOT updated. I have a button that sets the timer.enabled to true, and when I put a breakpoint in the code there, the label DO get updated every time I click that button. Do anyone have similar problems? Thanks!
CF
In asp.net, your enable timer button posts back to the server and makes a new request. I thinks that is why you see the label updated.
I don't know any way to make dynamic server actions show on a web page without a request from the browser. You generally need the client side to do that for you.
You could use it to check how your timer is working. But it still involves a new http request each time and a reload of the page with the new values in the html code at the instant the page was sent by the server.
Some people have said it is works for things like stock tickers. I never tried it for that. I see lots of discussion about using it to redirect, and what the search engines think about it.