随笔分类 -  Asp.net MVC

摘要:首先添加引用:MicrosoftAjax.js和MicrosoftMvcAjax.js这两个js文件;View:<%= Ajax.ActionLink("Text","Text连接",new{id=XXXid},new AjaxOptions(confirm="Are you sure for ...??")) %>Controllor:return JavaScript("alert('Success!');window.location='/Controllor/Action' 阅读全文
posted @ 2012-12-12 09:39 番茄脸红红 阅读(255) 评论(0) 推荐(0)