I have a web form with a submission confirmation message that I would like to display for 10 seconds (after the page returns from the "Submit" event) and then hide after the 10 seconds has elapsed.
I decided to use the System.Web.UI.Timer object, set it's interval, enable it, and registered my "Tick" event handler with it.
Problem is that the Tick() event handler is never fired, and I'm not sure why.
I've followed all the examples that I've found on the Net exactly, exept for one thing--they all include a timer.Start() call, which gives me compilation errors when I try to call Start() on my System.Web.UI.timer object. These examples say that they're using System.Web.UI.timer, but that can't be since there is no System.Web.UI.timer Start() method...or is there, and I just missed it?
Can someone clarify?
I understand that there are other timer classes like System.Timers.Timer and System.Threading.Timer which have Start() methods, but I think I need the System.Web.UI timer since it's for a web form.