Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
args.fileData.fileSource missing from UploadEventArgs as described in
@Html.EJS().Uploader("uploadFiles").Uploading("onUpload").Render()
Here's the JS where I log args from Uploading event to console:
function onUpload(args) {
console.log(args);
}
Here's the resulting console output:
{
"fileData": {
"name": "doc4.txt",
"rawFile": {},
"size": 5,
"status": "File uploaded successfully",
"type": "txt",
"validationMessages": {
"minSize": "",
"maxSize": ""
},
"statusCode": "2"
},
"customFormData": [
{
"concernId": "1"
}
],
"cancel": false,
"currentRequest": {},
"name": "uploading"
}
If possible, please provide me a work-around while fixing the bug. Unfortunately I can't deal with it on the server-side, because your control creates an arbitrary number of copies of all of the posted files, which can be seen in the Request.Form.Files IFormFileCollection (another bug in itself). So I already have to write logic to delete multiple instances of the same file name to address that, thus cannot differentiate between two different files with the same name.