We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

error in SfUploader+AutoUpload in ver 21

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)

Attachment: test_SfUploader_err_SfUploaderAutoUpload_6b94d977.rar

4 Replies

DR Deepak Ramakrishnan Syncfusion Team April 7, 2023 04:19 PM UTC

Hi Andrzej,

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.



Deepak R.

AN Andrzej April 7, 2023 04:49 PM UTC

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.

BR Andrzej

PK Priyanka Karthikeyan Syncfusion Team April 14, 2023 01:41 PM UTC

Hi Andrzej,

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.”


Priyanka K

PK Priyanka Karthikeyan Syncfusion Team May 11, 2023 07:04 AM UTC

Hi Andrzej,

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. 



Priyanka K

Live Chat Icon For mobile
Up arrow icon