Ich habe eine Datei in meiner Ansicht
<form id="upload" enctype="multipart/form-data">
<input type="file" name="fileUpload" id="fileUpload" size="23" />
</form>
und eine Ajax-Anfrage
$.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) {}
});
Die Request.Files enthalten jedoch keine Datei . Was ist los mit der Ajax-Anfrage?