title: Inserting links into a WebGrid
body: <p>I'm looking to create some hyperlinks in a Webgrid. I'd like to have the "User Name" column display it's values as hyperlinks instead of text. Is it possible to incorporate the @Html.ActionLink function into the WebGrid below? </p>
  
  <p>The columnName expects a string which corresponds to a property of the model that is being passed to the view. So the problem is how to get that into a link.</p>
  
  <p><strong>View:</strong></p>
  
  <pre><code>@model IEnumerable&lt;CIMsWebApp.Client.Group.Entities.IUser&gt;
  
  @{  var grid = new WebGrid(Model, canSort: true, canPage: true, defaultSort: "UserName", ajaxUpdateContainerId: "myUserGrid"); }
  
   @grid.GetHtml(
      tableStyle: "dataGrid", 
      headerStyle: "header",
      alternatingRowStyle: "evenRow",
      columns: grid.Columns
      (
          grid.Column(header: "User Name", columnName: "UserName", canSort: false),
          grid.Column(header: "Role(s)", columnName: "Rolebuilder", canSort: false),
          grid.Column(header: "Active", columnName: "ActiveInd", canSort: false),
          grid.Column(header: "Action", format:
                                      @&lt;span&gt;&lt;input type="button" class="edit-user" id="@item.PersonId" value="EDIT" /&gt;
                                      &lt;/span&gt;, canSort: false)
      )
  )
  </code></pre>