Hello,
After i updated the nuget Syncfusion.Blazor from version 20.4.0.43 to 23.2.4 the dashboard does no appear on screen (all blank), the project runs and open seems to do the loading but after that nothing is shown.
I tried to follow the indications from the documentation add stylesheet and cripts resourses but nothing seems to work.
I alredy tried to add the Syncfusion.Blazor.Themes also from nuget but remains the same .
is Blazor Server App
Any sugestion?
Hi Diogo,
Greetings from Syncfusion support.
Based on the shared details, we understand that the Blazor Dashboard Layout component is not rendered in the UI at your end. We have prepared the Blazor Dashboard Layout sample in the mentioned 20.4.0.43 version and also upgraded the sample to the 23.2.4 version at our end. However, we were unable to replicate the reported issue, and the Blazor Dashboard layout component was rendered in the UI properly without any issues.
Based on your shared screenshot, we suspect that you referred to an improper script file at your end. However, when using the Syncfusion.Blazor NuGet package, you need to refer to the below script file at your end.
|
[_Host.cshtml] … <head> … <link rel='nofollow' href=https://cdn.syncfusion.com/blazor/23.2.4/styles/bootstrap5.css rel="stylesheet" /> <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> </head> … |
For your reference, we have attached the sample.
Sample: Attached as a zip file.
Check out the attached sample and let us know if you need any further assistance.
Regards,
Prasanth Madhaiyan.
Hi,
The problem is not only on dashboard, none of the syncfusion controller appear.
In my _Host.cshtlm
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
this script seems that is not doing nothing, i has another script on the page:
<script src=https://cdn.syncfusion.com/blazor/syncfusion-blazor-base.min.js></script>
and if i remove this last one, is shown a message that i dont have a licence.
Can i use this last one insted of this:
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
But still have yhe problem
Hi Diogo,
Query 1: Can I use this last one instead of this: <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
Based on the shared details, if you want to use this <script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> script file at your end, you need to install the individual NuGet package (for example, for the Dashboard Layout component, you need to install the Syncfusion.Blazor.Layouts NuGet package) instead of the Syncfusion.Blazor NuGet package at your end.
Refer to the below code snippets.
|
[_Host.cshtml]
<head> … <link rel='nofollow' href=https://cdn.syncfusion.com/blazor/23.2.4/styles/bootstrap5.css rel="stylesheet" /> <script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> </head> |
Query 2: Shown a message that I don't have a license.
To resolve this license-related issue, you need to buy the Syncfusion license at your end. Also, please check the user guide documentation below at your end.
https://blazor.syncfusion.com/documentation/getting-started/license-key/overview
Please check out the attached sample. If the issue still persists, could you please replicate the issue in the attached sample or share the replicated sample of the issue? Based on that, we will investigate and provide you with a prompt solution. Kindly get back to us with the requested details.
Regards,
Prasanth Madhaiyan.