ASP.NET MVC and AjaxFileUpload
Posted
by Jimbojones
on Stack Overflow
See other posts from Stack Overflow
or by Jimbojones
Published on 2009-05-07T18:19:59Z
Indexed on
2010/05/03
14:08 UTC
Read the original article
Hit count: 536
Ok, this is driving me nuts. I have been trying to figure this out forever now. I want to to perform an async upload using ajaxFileUpload. I have it posting the file to my controller just fine, however, when i try to return a JsonResult from it, I get a "Save File As" dialog box. I have tried everything to get around this and i either get an error or the "Save As" dialog. Im assuming that it has something to do with the content type that is being passed in when the file gets posted. I would be greatly appreciative if anyone could help. Thanks in advance!
© Stack Overflow or respective owner