【发布时间】:2011-04-06 07:43:25
【问题描述】:
<%= Ajax.AjaxImageActionLink("../../Content/images/delete.png", "Feature", "Delete", new { id = item.int_FeatureId }, new AjaxOptions { UpdateTargetId = "table", HttpMethod = "Post", Confirm = "Delete Feature with Feature ID:" + item.int_FeatureId + " Feature Name:" + item.vcr_FeaturesName })%> pr
我试图在按下是和否的删除链接时生成 javascript 弹出窗口。这在 .aspx 视图中完美运行,但我如何使它在剃刀中运行。我尝试翻译它但不工作
@Ajax.ActionLink("Delete Profile", "Delete", new { id = item.int_UserId }, new AjaxOptions { UpdateTargetId = "UserTable", HttpMethod = "Post", Confirm = "Delete User with User ID:" + item.int_UserId + " User Name:" + item.vcr_UserName })
【问题讨论】:
标签: asp.net asp.net-mvc-3 razor