i have a test window on which i have to use count down for time. when we click on next button page is posted back and on postback new question is selected. total time will be selected from database.
i get total time in code behind , now i have to show it in countdown on the page.
can anyone help me?
Count down in test page
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

dev soni29 reputationPosted Dec 10, 2012, 12:37 AM EST
just put your total time in a session variable and start the count down with the help of Timer control or you can use the jquery.
But remember one thing ,put the code (where you will set the session variable) into the !ispostback condition and you are done.now when you will click on next button then the timer's time will not change because of the if condition on the session variable.
Thanks
Dev :)