asp.net 之

 <script type="text/javascript">
    //获取客户端实例
        var pa = Sys.WebForms.PageRequestManager.getInstance();
        function CanceAsynPostBack() {
        //判断客户端生命周期是否处理异步回发状态
            if (pa.get_isInAsyncPostBack()) {
            //中断回发
                pa.abortPostBack();
             }
         }
    </script>

  

posted @ 2016-11-04 16:40  尘梦  阅读(95)  评论(0编辑  收藏  举报