在我看来,我有这段代码:
columns.Bound(o => o.jobname).Width(100);
columns.Bound(o => o.objid)
.Format(Ajax.ActionLink("delete", "QuotesDelete", new { id = "{0}" }, new { @class = "delete-link" })
.ToHtmlString())
.Encoded(false)
.Title("");
现在我想使用jobname列作为编辑链接,所以我将 jobname 更改为以下内容。
columns.Bound(o => o.jobname).Format(Ajax.ActionLink("{0}", "QuotesDetail", new { id = "is-it-possible-to-get-objid-value" })
.ToHtmlString())
.Encoded(false);
是否可以在routeValues中获取objid值?