<%= 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视图中完美工作,但我如何使它在剃刀中工作。我试着翻译,但没有工作asp.net mvc剃须刀是没有对话框不在剃须刀
@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 })