pass ActionLink parameters to perform GET
Is the开发者_开发知识库re a way to perform a GET and pass parameters using Ajax.ActionLink
<%= Ajax.ActionLink("12", "ActionMethod", new { id = 1}
...
Currently, the line above performs a POST.
Thanks, rod.
<%= Ajax.ActionLink("12", "ActionMethod", new AjaxOptions { HttpMethod = "GET" })%>
精彩评论