Dear all
Please help me
how to create timer count down start when button click in asp.net.
Thanks & Regards
Niranjan Poddar
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arham EllahPosted Dec 4, 2015, 1:55 AM
DispatcherTimer timer = new DispatcherTimer();
timer.Interval = TimeSpan.FromSeconds(1); //you can change timespan according to your choice.
timer.Start();
{
Nishant MittalPosted Nov 30, 2015, 5:55 AM
private void timer1_Tick(object sender, EventArgs e) { label1.Text = DateTime.Now.ToString(); second = second + 1; if (second >= 10) { timer1.Stop(); MessageBox.Show("Exiting from Timer...."); } }