blockUI doesn't close when download file in asp.net

solution:

document.attachEvent("onreadystatechange", function () { 
         if (document.readyState == "loading") {
                $.unblockUI();
            }
        });
原文地址:https://www.cnblogs.com/shcity/p/3095819.html