title: call javascript after updatepanel postback
body: <p>I put the following javascript code inline but it doesn't trigger after the updatepanel is done with its postback:</p>
  
  <pre><code>function EndRequestHandler(sender, args) { alert("this should work"); }
  Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>