title: Using ActionLink parameters with button onclick ?
body: <p>Straight forword I think just can't find the syntax...</p>
  
  <p>I have an ActionLink which uses an id property,</p>
  
  <pre><code>  &lt;td style="padding-right:35px"&gt;@Html.ActionLink("Edit", "EditUser", new { @id = user.ID.ToString("N") }, new { @class = "btn yellow"})&lt;/td&gt;
  </code></pre>
  
  <p>Basically I want to change this to a btn, but I am not sure how to pass the id parameter , I think it's something like this....</p>
  
  <pre><code> &lt;button type="button" class="btn blue" id="user.ID.ToString("N")" onclick="location.href='ReferralTarget/EditUser'"&gt;&lt;i class="icon-edit"&gt; Edit&lt;/button&gt;
  </code></pre>
  
  <p>Where ReferralTarget is my control and EditUser my actionResult..
  Please note this is an ASP.NET MVC4 application using Razor2 views...</p>