title: Asp.net - How to convert a button to a hyperlink
body: <p>I want a person to click on <em>purchase</em>, which triggers code in the code-behind. </p>
  
  <p>This works fine with a <code>Button</code>, but I would prefer a text hyperlink?</p>
  
  <pre><code>    &lt;asp:Button runat="server" ID="purchase" Text="Purchase" /&gt;
  </code></pre>