I am trying to use the File Manager control in a Blazor Server application. I followed all the required steps from the getting started guide and a sample application that I found here, in the forum, (https://www.syncfusion.com/downloads/support/forum/169708/ze/FileManager-1505989545). As a result I always get the error in Dev tools (see attached image):
Error: Microsoft.JSInterop.JSException: Failed to execute 'querySelector' on 'Document': '# e-fe-upload-dialog [title]' is not a valid selector.
I have setup a new Blazor Server project with the default template and followed all the above steps and I still get the same error. I am attaching this sample project for your reference.
Here is the sample project
We have validated your reported issue and able to replicate in our Syncfusion latest package version of the File Manager component. We have considered it as bug from our end. The fix for this issue will be included in our upcoming patch release on April 18, 2023.
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.
Can I temporally overcome the issue by using an older version of the controls, and which one, until the patch is ready?
Query: Can I temporarily overcome the issue by using an older version of the controls, and which one, until the patch is ready?
Yes, Sotiris. You can use an older version of the Syncfusion File Manager package, which is version 21.1.38, as a temporary package until the latest NuGet version is released.
Thanks for your patience.
We are glad to announce that our patch release (V21.1.41) has been rolled out successfully. The issues with “Script error occurs in file manager samples when connected with latest NuGet version 21.1.39” have been resolved in this release.
To access this fix, we suggest you update the package to 21.1.41 and we include the sample in the latest version for your reference.
Please get in touch with us if you would require any further assistance.