【发布时间】:2016-07-08 04:16:34
【问题描述】:
我尝试了多次尝试添加 html.actionlink 以及剑道网格中客户端模板中的条件。可以请任何人帮助正确的语法。 谢谢。
col.Bound(o => o.IsEmpolymentFileExist).ClientTemplate("# if( IsEmpolymentFileExist == true) { # @Html.ActionLink("OpenFile", "Openfile", "PreEmploymentWorkflow", new { Id = "#=PreEmploymentId#", uploadfilename = "Employment Application" }, new { @class = "classname3" }).ToHtmlString() # } else {# <img ... /> # } #")
【问题讨论】:
标签: asp.net-mvc-4 model-view-controller kendo-grid kendo-asp.net-mvc