title: C# Web Application Pop Up Confimation Dialog Box
body: <p>I am trying to do when textBox autoPostBack. a pop up confirmation dialog box will appear. If user choose Okay, then perform something. If user choose Cancel, then get back the previous text in textBox. So far, I've found a solution for a pop up message in C# web application:</p>
  
  <pre><code>Page.ClientScript.RegisterStartupScript(GetType(), "UserDialogScript", "alert(\"Insufficient storage\");", true);
  </code></pre>
  
  <p>However, this message box do not have button on it. I looking forwards for solutions. Thanks in advance.</p>