title: prevent firing the code-behind event from JavaScript?
body: <p>I would like this ASP button control to stop calling its event handler when the JavaScript client method <code>IsCorrectPrice()</code> returns false. </p>
  
  <pre><code>&lt;asp:Button ID="btnsubmit" runat="server" 
              Text="Submit" OnClientClick="javascript:IsCorrectPrice()"/&gt;
  
  
  btnsubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) 
    Handles btnsubmit.Click
  </code></pre>
  
  <p>How can this be done?</p>