I'm using upload control in the following manner:
uploadContainer.igUpload({
mode: 'multiple',
multipleFiles: true,
maxSimultaneousFilesUploads: 2,
maxUploadedFiles: 2048,
labelUploadButton: "Choose File",
labelAddButton: "Choose File",
labelClearAllButton: null,
autostartupload: true,
onError: function(e, args) {...some function...},
fileUploaded: function(e, args) {...some function...},
allowedExtensions: ['dwg', 'DWG']
});
How to accomplish that? Any ideas are welcomed!
Thank you!
The information to send additional data to the server Upload MVC Wrapper and the igUpload control on the client and vice-versa will be available in the Ignite UI June 2015 service release.
What you can do currently is to handle the client-side fileUploaded event and send an additional Ajax request to the server to get the data you want.