使用@ Html.ActionLink更新部分视图

时间:2011-02-16 13:23:24

标签: asp.net-mvc-3

如何从以下更新部分视图?

查看:

<td>@Html.ActionLink("remove authorization", "RemoveAuthorization", new { id = Model.ID }, new { Class = "deleteLink" })</td> 

控制器:

public ActionResult RemoveAuthorization(int ID)
     {
            return RedirectToAction("PartialAuthorizeExpenses");
     }

public PartialViewResult PartialAuthorizeExpenses()
     {
         AuthorizeModel model = new AuthorizeModel(null, 0, "All");
         return PartialView("Authorize_Details", model);
     }

0 个答案:

没有答案