Cannot accept arguments when deleting a file. How can I receive them? A video of the operation has been uploaded.
The documentation stated that the "RemoveFileNames" attribute must be defined, but I could not figure out how to use it.
Hi Takuya,
We have validated the reported requirement with our component, but we cannot replicate the reported issue on our end. we have included the validated code and sample with a screenshot here.
Find the code example here:
|
[index.razor] <SfUploader ID="UploadFiles" AutoUpload=false AllowedExtensions=".pdf" MaxFileSize="3000000"> <UploaderAsyncSettings SaveUrl="api/SampleData/Save" RemoveUrl="api/SampleData/Remove"></UploaderAsyncSettings> </SfUploader>
[controller.cs] [HttpPost("[action]")] public void Remove(IList<IFormFile> UploadFiles) { //try |
Find the screenshot here:
|
|
Find the validated sample in the attachment:
If still you have faced the same issue, then please replicate the reported issue on the attached sample and revert us with a detailed issue replication procedure. These details will help us to provide an exact solution as earlier as possible.
Note: If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.
Regards,
Sureshkumar P
A sample that reproduces the problem is available on GitHub. I also published a video of the sample in action.
https://github.com/nekojoker/sf-file-upload-test
The following is my environment.
.NET 6.0.400
Visual Studio for Mac 17.4 Preview
macOS Monterey
version 12.5.1
MacBook Air (M1, 2020)
Tip Apple M1
Memory 16GB
Hi Takuya,
Yes we can able to reproduce the issue with the latest version which you are using in your application . We will further validate and update the bug details in one business days (1 September 2022) . Until then we suggest you to use the Syncfusion package versions below 20.2.0.43 temporarily , to get rid of the issue.
Thanks,
Deepak R.
Hi Takuya,
Thanks for your shared information. We have logged the reported requirement as an issue on our end and this fix will be included in our upcoming weekly patch release, which is expected to be rolled out on September 13th, 2022.
You can track the status of this issue from the below feedback.
Feedback: https://www.syncfusion.com/feedback/37456
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization
Regards,
Sureshkumar P
Hi Takuya,
We are facing complexity to resolve this issue. We will include it in the upcoming weekly patch release.
Which is expected to be rolled out on September 21st,2022.
Regards,
Sureshkumar P
Hi Takuya,
We have fixed your reported issue from our end in the latest 20.2.50 version. So, we suggest you upgrade to our latest version to resolve the current issue.
Please find the release notes here: https://blazor.syncfusion.com/documentation/release-notes/20.2.50?type=all#uploader
Regards,
Sureshkumar P
Thank you for the fix.
Hi Takuya,
Thanks for your update.
Regards,
Sureshkumar P