If you have an ASP.NET UpdatePanel and and ASP.NET Timer that trigers theUpdatePanel to refresh, is it posible, in javascript, to stop/pause the timer?
I want to stop the timer when the users mouse is over the updatepanel!
The best way is to use enabled property for the timer control
timer1.Enabled = false; //For stop the timer
timer1.Enabled = true; // For starting the timer
http://forums.asp.net/t/1094798.aspx
then just attach a client side event to the updatepanel ala -
http://encosia.com/2007/07/13/easily-refresh-an-updatepanel-using-javascript/ - but change to onmouseover to call them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With