WebGridの条件付き列に2つのHtml.ActionLinkを連結しようとしています。そのようなもの:
@grid.GetHtml(columns:grid.Columns(
grid.Column("AccountNumber"),
grid.Column("ContractNumber"),
grid.Column("DisplayName"),
grid.Column("IsFinalized"," ",format:(item) => (item.IsFinalized == true)
?@<text> @Html.ActionLink("Edit", "Edit", new { accountId = item.AccountNumber}) | @Html.ActionLink("Details", "Details", new { accountId = item.AccountNumber }) </text>
:@<text> @Html.ActionLink("Validate", "Validate", new { accountId = item.AccountNumber} | @Html.ActionLink("Details", "Details", new { accountId = item.AccountNumber }))</text>)
))