title: Call Html.ActionLink from a button?
body: <p>How can I call the "Register" ActionLink (The one generated on the standard MVC5 
  project using VS2013) from a bootstrap button?</p>
  
  <p>This is the original code:</p>
  
  <pre><code>@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })
  </code></pre>
  
  <p>I tried this but obviously it didn't work:</p>
  
  <pre><code>&lt;button type="button" class="btn btn-info" onclick="window.location.href('@Url.Action("Register", "Account")')"&gt;Add New User&lt;/button&gt;
  </code></pre>