删除时显示确认对话框

 @Html.ActionLink("删除", "Delete", "AccType", new { id = item.Atid }, new { @onclick ="return  confirm('您确定要删除该记录吗?该操作不可恢复!') "})

 

posted @ 2013-05-26 20:57  James·wang  阅读(213)  评论(0编辑  收藏  举报