title: Alert not working what's wrong in this
body: <p>I write the following to alert but it is not displaying the alert box what's wrong in this</p>
  
  <pre><code>protected void Timer1_Tick(object sender, EventArgs e)
  {
      string str = string.Empty;
      str = "Total Count: '" + click + "'";
  
      Response.Write("&lt;Script&gt;alert('" + str + "')&lt;/script&gt;");
      click = 0;
  }
  </code></pre>