I am using this control to upload files to SharePoint 2013 and have customized it to update the meta data in SharePoint prior to finishing the upload. Unfortunately, the only way i could do this was to use the SharePoint JSOM in the Upload event of the control. The result is a successful upload however it appears to have failed to the control. How can i return a success to the control even in the event of an error?
$("#files").kendoUpload({
async: {
saveUrl: function (o) {
},
autoUpload: false
},
upload: function (e) {
uploadFile(e);
return "";
}
});
uploadFile is where all the work is done. What can i return to the kendoUpload control so that it appears as if the upload was successful?
Thanks
$("#files").kendoUpload({
async: {
saveUrl: function (o) {
},
autoUpload: false
},
upload: function (e) {
uploadFile(e);
return "";
}
});
uploadFile is where all the work is done. What can i return to the kendoUpload control so that it appears as if the upload was successful?
Thanks