Hi,
I'm trying to upload multiple files, and for each file I need to pass 2 more values: 'Display Name' and 'Description'. I've added two more input boxes to the template for each file and set the process to async, AutoUpload(false) and Batch(False).
On the Upload event I want to pass these two values:
var fileName = .{ get file name};
e.data = { DisplayName: $("#DisplayName_" + fileName).val(), Description: $("#Description_" + fileName).val() };
I drag and drop files, enter names and decs for each of them and I press the 'Upload' button, but onUpload event doesn't fie.
@(Html.Kendo().Upload() .Name("files") .TemplateId("fileTemplate") .Async(a => a .Save("SaveFile", "Test") .AutoUpload(false) .Batch(false)) .Events(events => events .Upload("onUpload") ))function onUpload(e) { alert('onUpload');}