title: asp.net setting onclick of input button dynamically
body: <p>I have some dynamic buttons that look like this:</p>
  
  <pre><code>&lt;input type="button" name="button" id="button" value="Click me"
      onclick="window.open('somelink');" /&gt;
  </code></pre>
  
  <p>I need to be able to change 'somelink' from the code behind.</p>
  
  <p>How is that done? 
  I know <code>Request.Form["button"]</code> gets the button but how to set the onlick property?</p>