码迷,mamicode.com
首页 > Web开发 > 详细

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the

时间:2014-05-06 23:36:38      阅读:408      评论:0      收藏:0      [点我收藏+]

标签:blog   class   code   java   get   javascript   

    Sys.Application.add_load(function() {
        var form = Sys.WebForms.PageRequestManager.getInstance()._form;
        form._initialAction = form.action = window.location.href;
    });
    if (!document.all) {
        window.onbeforeunload = function() {
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequest);
        }
    }

    function endRequest(sender, e) {
        err = e.get_error();
        if (err) {
            if (err.name == "Sys.WebForms.PageRequestManagerServerErrorException") {
                e.set_errorHandled(true);
            }
        }
    }

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the,布布扣,bubuko.com

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the

标签:blog   class   code   java   get   javascript   

原文地址:http://blog.csdn.net/zhanglong_longlong/article/details/25127495

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!