Hello, I noticed an incorrect behavior of a component SfUploader in Syncfusion.Blazor ver 21 when I used AutoUpload = "true". The problem appears when I want to upload one file after another.
Uploading works correctly in attached project until I switch pages.
The page Index contains an SfUploader. After starting the site, I can upload many files one after another without problems. However after navigating to page Counter and back to Home, I can upload only one file and any next file reports a 'File type is not allowed'.
BTW. I think that this sample is not correct for ver 21: https://www.syncfusion.com/kb/11614/how-to-upload-files-to-the-server-with-the-blazor-file-upload-component
I mean: file.Stream.WriteTo(filestream)
We have improvised the Syncfusion File uploader performance
, As a result we need to include some breaking changes related to the required
functionality from 21.* versions For more details about the changes , You can
refer to the below release notes for reference.
my project which I attached before is already prepared for Syncfusion.Blazor 21.*
The problem is AutoUpload="true" which blocks consecutive uploads.
I also wrote about your sample project just to inform that it is rather outdated.
I mean the following line:
file.Stream.WriteTo(filestream) was OK only for ver 20.
We have considered the reported issue "Error occurs “File type is not allowed” after navigating to the other page and uploading the file" as a bug from our end and the fix for the issue will be included in our upcoming patch release, which is expected to roll out at the end of April.
Now you can track the status of the reported issue through the feedback below,
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.”
We have included the fix for the issue "Error occurs “File type is not allowed” after navigating to the other page and uploading the file" with our release version 21.1.41. So please upgrade your package to the latest to resolve the issue from your end.