I have a file in my opinion
<form id="upload" enctype="multipart/form-data"> <input type="file" name="fileUpload" id="fileUpload" size="23" /> </form>
and ajax request
$.ajax({ url: '<%=Url.Action("JsonSave","Survey") %>', dataType: 'json', processData: false, contentType: "multipart/mixed", data: { Id: selectedRow.Id, Value: 'some date was added by the user here :))' }, cache: false, success: function (data) {} });
but Request.Files is missing. What is wrong with ajax request?
jquery ajax asp.net-mvc
CoffeeCode Mar 11 '10 at 20:11 2010-03-11 20:11
source share