upload.uploadFunction
Fires when one or more files are about to be uploaded. The canceling of the event prevents the upload. Upload Events.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/service/v2/core/filemanager/";
$("#fileManager").kendoFileManager({
upload: {
upload: function(e) {
console.log("Starting upload: " + e.files[0].name);
}
},
dataSource: {
transport: {
read: {
method: "POST",
url: baseUrl + "Read"
}
}
}
});
</script>
In this article