title: Calling server event of a button in ASP.NET from Javascript
body: <p>I have a  button, I need to display a pop-up in javascript. So on its client click I call a javascript function which does that.</p>
  
  <p>if user clicks "yes", I need to do a post back and call buttons server side click event, here is what I am doing inside the javascript function</p>
  
  <pre><code>__doPostBack(deleteLinkButton, 'Click'); 
  
  ' Where deleteLinkButton is a variable that has client Id of the button.
  </code></pre>
  
  <p>Postback happens but it does not go in the click handler for that button.</p>
  
  <p>What can be wrong?</p>