How to receive arguments when deleting a file

Cannot accept arguments when deleting a file. How can I receive them? A video of the operation has been uploaded.

https://youtu.be/yf5Um3dgUoo


The documentation stated that the "RemoveFileNames" attribute must be defined, but I could not figure out how to use it.

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Inputs.UploaderAsyncSettings.html#Syncfusion_Blazor_Inputs_UploaderAsyncSettings_RemoveUrl


8 Replies 1 reply marked as answer

SP Sureshkumar P Syncfusion Team August 29, 2022 08:32 AM UTC

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


Attachment: BlazorApp1_6f7dfa26.zip


TA Takuya August 29, 2022 09:23 AM UTC

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

https://youtu.be/vJJzBl4aA48


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



DR Deepak Ramakrishnan Syncfusion Team August 30, 2022 03:10 PM UTC

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. 



SP Sureshkumar P Syncfusion Team September 1, 2022 11:39 AM UTC

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



SP Sureshkumar P Syncfusion Team September 15, 2022 11:17 AM UTC

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



SP Sureshkumar P Syncfusion Team September 21, 2022 06:24 AM UTC

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


Marked as answer

TA Takuya September 21, 2022 10:35 AM UTC

Thank you for the fix.



SP Sureshkumar P Syncfusion Team September 22, 2022 05:37 AM UTC

Hi Takuya,


Thanks for your update.


Regards,

Sureshkumar P


Loader.
Up arrow icon