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

Commented Unassigned: AjaxFileUpload: Cannot DeSerialize [27473]

$
0
0
With Ajaxtoolkit version 7.0607, With AjaxFileUpload control whenever i try to upload a file in IE i get the following error message

Line: 4271
Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data
Comments: Ok, I figured out my problem. And for the sake of others I'll post it here. For my situation, the ajaxfileuploader works as it should. I noticed that the deserialization error happened when I did something to interrupt the flow inside my page load and inside an "If not ispostback" conditional. The upload actually will behave like a new page load, and when I throw and exception, or exit the sub, the fileuploader is damaged. Took me a while to figure out/understand this.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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