After submitting a file through AsyncFileUpload, If I want to End the response in ASP.NET in order to stop the onload event client side, it works fine in Chrome and FireFox but not in IE8/IE9.
I downloaded the source code and modified the AsynFileUpload.pre.js replacing the lines following line number 349 with:
if (frameDocument.body.innerHTML == "") {
//return true;
var e = { "message": Sys.Extended.UI.Resources.AsyncFileUpload_UploadingProblem };
throw (e);
}
This way if the response body is empty as it is seen be the IE it will throw an error, and the error will get to the client side error handling function.
Regards,
Florin.
I downloaded the source code and modified the AsynFileUpload.pre.js replacing the lines following line number 349 with:
if (frameDocument.body.innerHTML == "") {
//return true;
var e = { "message": Sys.Extended.UI.Resources.AsyncFileUpload_UploadingProblem };
throw (e);
}
This way if the response body is empty as it is seen be the IE it will throw an error, and the error will get to the client side error handling function.
Regards,
Florin.