title: How to call confirm message from code behind in asp.net?
body: <p>Hi I want to call a client side javascript confirm message from code behind in asp.net. </p>
  
  <p>I want to use the true or false return value from the confirm message. </p>
  
  <p>I'm doing like this, but this is not the correct way, please tell me how can I do the same.</p>
  
  <pre><code>ScriptManager.RegisterStartupScript(this, this.GetType(), "myconfirm", "confirm('No Rule Type Ids found for This Rule.');", true);
  </code></pre>