title: MVC WebGrid Conditional Concate Htlm.ActionLink
body: <p>I'm trying to concatenate 2 Html.ActionLink in a conditionnal column in a WebGrid.
  somethings like that :   </p>
  
  <pre><code>@grid.GetHtml(columns:grid.Columns(
     grid.Column("AccountNumber"),
     grid.Column("ContractNumber"),
     grid.Column("DisplayName"),
     grid.Column("IsFinalized"," ",format:(item) =&gt; (item.IsFinalized == true) 
       ?@&lt;text&gt; @Html.ActionLink("Edit", "Edit", new { accountId = item.AccountNumber}) | @Html.ActionLink("Details", "Details", new { accountId = item.AccountNumber }) &lt;/text&gt;
       :@&lt;text&gt; @Html.ActionLink("Validate", "Validate", new { accountId = item.AccountNumber} | @Html.ActionLink("Details", "Details", new { accountId = item.AccountNumber }))&lt;/text&gt;)
  ))
  </code></pre>