grid.Column(format:
v =>
@Html.ActionLink(@item.Name, "Details", new { id = item.Id }).ToString() +
(v.State == State.Y
? @Html.ActionLink("Start", "Start", new { id = v.Id })
: (v.State == State.Z)
? @Html.ActionLink("Continue", "Start", new { id = v.Id })
: MvcHtmlString.Create("")).ToString()
)
这个解决方案给了我一个编码的 HTML,我能做些什么呢?