Microsoft.JSInterop.JSException: Could not find 'sfBlazor.TreeGrid.initialize' ('TreeGrid' was undefined)

I get the following error while using the TreeGrid.
When it happens the app continue to work, but it will show the yellow message bar to reload the app.
It dosent happend always,  but it you quicly move between pages the this error some times appears.
I'm using .NET 5 RC2



6 Replies 1 reply marked as answer

PS Pon Selva Jeganathan Syncfusion Team October 19, 2020 01:16 PM UTC

Hi Sebastian 
  
Greetings from syncfusion support.  
  
We are able to replicate the problem at our end in the specified scenario(Navigating between pages and Refreshing the TreeGrid throws script error) with that mentioned version. Further analyzing we have confirmed this issue “Navigating between pages and Refreshing the TreeGrid throws script error in webAssembly” as bug. Thank you for the taking the time to report the issue and helping us improve our product. At Syncfusion we are committed to fixing all the validated defect (subject to technological feasibility and Product Development Life Cycle) and including its fix in our subsequent release. The fix for the issue will be included in our next week nuget release which is expected to be rolled out on or before October 28, 2020. Until then, we appreciate your patience. 
  
You can track the current status of your request, review the resolution timeline and contact us for any further inquiries through this link.      
 
Note: To view the above feedback, kindly login into your account.      
  
Please get back to us if you need any further assistance.  
  
Regards, 
Pon selva  


Marked as answer

VG Vadim Gerya December 30, 2021 05:36 AM UTC

I see the same while using Blazor.Gantt   

'Could not find 'sfBlazor.TreeGrid.modelChanged' ('sfBlazor' was undefined)'

script - /blazor.webview.js:1:328



VG Vadim Gerya replied to Vadim Gerya December 30, 2021 10:32 PM UTC

Sorry. 

Adding 

<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

to wwwroot\index.html solved this.



PS Pon Selva Jeganathan Syncfusion Team December 31, 2021 02:24 PM UTC

Hi Vadim 
 
Thanks for the update. 
 
We are glad to hear your query has been solved. 
 
Kindly get back to us for further assistance. We are happy to assist you. 
 
   
Regards, 
Pon selva 



SA Samson October 13, 2022 05:52 AM UTC

Hi Team,

I was trying out the Bold Reports in my blazor web assembly App. however, it is not loading the javascripts. JSInterop cannot find the functions on the js file. 



SG Suganya Gopinath Syncfusion Team October 14, 2022 08:56 AM UTC

Hi Samson, 

We have created a new forum for "Bold Reports" query, please follow the below forum thread for further updates. The respective team will assist you. 

Bold reports Query- From Forum 158817 | Syncfusion Forum Assist

Regards,

Suganya Gopinath. 



Loader.
Up arrow icon