如何在函数中传递值
@Ajax.ActionLink("Back to list", "list", "Security",
new AjaxOptions { UpdateTargetId = "show" })
答案 0 :(得分:4)
有一个overload:
@Ajax.ActionLink("Back to list", "list", "Security", new { YourValue = "Value" }, new AjaxOptions { UpdateTargetId = "show" })