BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi,
In .NET 6, I used Syncfusion component in Blazer Web Assembly and it was displayed correctly in the client browser. Next, with the arrival of .NET 7, I upgraded to .NET 7 and updated Syncfusion components. In order for these changes to be applied on the client side, I put a fake parameter (index.html)for the css and js files as follows:
mycss.css?v=2
jsfile.js?v=2
The problems that occurred in the clients, the website was not running properly. For example, I had used treeview for the site's menu, and when I clicked on the parent, the children of the parent were not displayed. I clicked clear history in the browser client, but the problem was not solved. In Chrome browser settings, there is an option to cached images and files, which solved the problem by removing these items.
How can I fix these problems so that they don't happen again?
Hi Sarah,
We have reviewed your query and understand that you are facing issues with TreeView while upgrading the .NET version and Syncfusion package version. We have prepared a File Manager WASM sample, which includes the necessary script and style tags in the index.html file. We would like to inform you that after rendering the sample, the TreeView component worked as expected on our end. We didn’t encounter the issue you reported.
Refer to the below given documentation link for referring the script and style tag in your application.
Style : https://blazor.syncfusion.com/documentation/file-manager/getting-started#blazor-webassembly-app-1
Script : https://blazor.syncfusion.com/documentation/file-manager/getting-started#blazor-webassembly-app-2
To better understand your reported issue, we recommend that you replicate the issue in our shared sample or share the complete script and style details included in the index.html file. This will help us to validate your query further and provide you with a prompt and effective solution.
Regards,
Suresh.
Hi SureshRajan Alagarsamy,
Thank you for your reply.
In SPA sites, css and js files are downloaded once on the client side.
1- By changing the css and js files, what solution do you suggest to download this file again by the client?
2- Another thing that I observed for referencing syncfusion components is as follows:
<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
When we upgrade the version of the synfusion component, how does the client know that these files will be downloaded again?
Hi Sarah,
We have reviewed your details, and we would like to inform you that based on the previous update, we suspect that the error might have occurred due to improper referring of CSS and JS files. To help you resolve this issue, we have shared the necessary script and style details.
We also suggest upgrading your Syncfusion package to the latest version, as .Net 7 will support Syncfusion package version 20.4.0.38 or above. Refer to the below documentation link for further reference.
Documentation : https://blazor.syncfusion.com/documentation/system-requirements#net-sdk
However, we would like to assist you further in resolving this issue. If the problem still persists on your end, we suggest you share a issue replicated sample. This will help us to validate your query further and provide you with a prompt solution.
Regards,
Suresh.