title: How to call a Javascript function having return value in c# codebehind
body: <p>I am having a page where i need to <strong>confirm</strong> whether to show updated grid or not</p>
  
  <p>I am calling a javascript function using </p>
  
  <pre><code>ScriptManager.RegisterStartupScript(this, typeof(string), "Error", "confirm('Are u sure');", true);
  </code></pre>
  
  <p>What I want to know is how to get the return value of confirm in C# code behind.</p>