开发者

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" })%>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜