Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: AsyncFileUpload hangs on IE if Response.End() serverside [27387]

$
0
0
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.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>