title: How to start count down timer after clicking a button in asp.net C#?
body: <p>my count down timer starts once I load the page. But what I want is that the timer should start after clicking the button.</p>
  
  <pre><code>protected void Timer1_Tick(object sender, EventArgs e)
      {
          if (TimeAllSecondes &gt; 0)
          {
              TimeAllSecondes = TimeAllSecondes - 1;
          }
  
          TimeSpan time_Span = TimeSpan.FromSeconds(TimeAllSecondes);
          hh = time_Span.Hours;
          mm = time_Span.Minutes;
          ss = time_Span.Seconds;
  
          Label2.Text = "  " + hh + ":" + mm + ":" + ss;
      }
  protected void Button1_Click(object sender, EventArgs e)
      {
  
       }
  </code></pre>