Hi
On clicking of "Remove" button, RemoveFiles method do get fired but "IEnumerable<HttpPostedFileBase> files" returns null value
However "SaveFiles" works fine.
$("#files").kendoUpload({
async: {
saveUrl: "Attachment/SaveFiles",
removeUrl: "WebSite/RemoveFiles",
autoUpload: true
},
upload: function (e) {
}
}).data("kendoUpload");
public PartialViewResult RemoveFiles(IEnumerable<HttpPostedFileBase> files)
{
if (files != null)
{
....................................
}
return PartialView("");
}
Am I missing something here.
On clicking of "Remove" button, RemoveFiles method do get fired but "IEnumerable<HttpPostedFileBase> files" returns null value
However "SaveFiles" works fine.
$("#files").kendoUpload({
async: {
saveUrl: "Attachment/SaveFiles",
removeUrl: "WebSite/RemoveFiles",
autoUpload: true
},
upload: function (e) {
}
}).data("kendoUpload");
public PartialViewResult RemoveFiles(IEnumerable<HttpPostedFileBase> files)
{
if (files != null)
{
....................................
}
return PartialView("");
}
Am I missing something here.