Countdown timer with updatepanel
-
Hi, I'm trying to creat a timer that count down and when it reaches 00:00 to alert with a popup and disable the form. Here is the client side code:
I'm disabling the timer at the Timer_Tick event, checking when the minutes and seconds are 0. My problem is that i can't disable the form or the submit button. Can someone please assist me?
-
Hi, I'm trying to creat a timer that count down and when it reaches 00:00 to alert with a popup and disable the form. Here is the client side code:
I'm disabling the timer at the Timer_Tick event, checking when the minutes and seconds are 0. My problem is that i can't disable the form or the submit button. Can someone please assist me?
Are you getting any type of error messages or is the button just not being disabled? Can we also see the code when you are disabling the button.
-
Hi, I'm trying to creat a timer that count down and when it reaches 00:00 to alert with a popup and disable the form. Here is the client side code:
I'm disabling the timer at the Timer_Tick event, checking when the minutes and seconds are 0. My problem is that i can't disable the form or the submit button. Can someone please assist me?
-
Are you getting any type of error messages or is the button just not being disabled? Can we also see the code when you are disabling the button.
Joshua Omundson wrote:
Are you getting any type of error messages or is the button just not being disabled?
Nop, i don't get any error, the button is just not being disable.
Joshua Omundson wrote:
Can we also see the code when you are disabling the button
I'm doing it at the page load event in side some if condition. Also tried puting it inside the time tick event. When i debuged it i saw that the if statment return true.
-
You have to use javascript for countdown timers. Try to google javascript countdown timers, I don't have sample code that is easy to paste right now at the moment.