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

Updating the version of .NET and SyncFusion


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:



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?

3 Replies

SA SureshRajan Alagarsamy Syncfusion Team April 13, 2023 03:30 PM UTC

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.


Attachment: TreeViewWASM_70a7a020.zip

SA Sarah April 16, 2023 05:26 AM UTC

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?

SA SureshRajan Alagarsamy Syncfusion Team April 17, 2023 02:08 PM UTC

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


Live Chat Icon For mobile
Up arrow icon