title: ASP.NET use Hyperlinks instead of Buttons
body: <p>I would like to add a <strong>Logout</strong> link to my form so our employees can log out of the job they are working on.</p>
  
  <p>The code behind in my application is simple:</p>
  
  <pre><code>protected void Logout_Click(object sender, EventArgs e) {
     MasterPage.Logout();
  }
  </code></pre>
  
  <p>A <code>asp.Button</code> I can code by wiring up the <code>onClick</code> event.</p>
  
  <p>How would I call this method using a <code>asp.Hyperlink</code> control?</p>