0
我有这样的代码在客户端:重定向问题
$.post('<%=Url.Action("Action_Name","Controller_Name")%>', { serverParam: clientParam}, null, null);
而这个代码在服务器端:
[HttpPost]
public ActionResult Action_Name(string serverParam)
{
return View();
}
我目前在一个视图,当我点击一个按钮,我想被重定向到Controller_Name
/Action_Name
/serverParam
。 岗位后,我的操作方法奉差遣,但我仍然看到旧观点,不Action_Name
(Action_Name.aspx
存在) (我使用MVC 2)