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']
});
- Current user, when arrives on the page, could upload a file.
- After uploading, he expects some information to be returned from uploaded file.I have to display list of layouts of the dwg file per example.
- Into my upload handler class at the back-end, "FinishedUpload" method is called. There, I'm reading the file, extracting some information from it and I want to return this information back to the front-end.
How to accomplish that? Any ideas are welcomed!
Thank you!