404 Error on loading Syncfusion Scripts
Silly newbie error...
I've created a new Blazor Server App .NET 9, but I'm missing something to load the Syncfusion scripts (I get a 404)
as the calendar does not operate.
Source:
Hi Charles,
We have reviewed the query you reported in the shared GitHub sample link. Upon investigation, we found that the script reference in your project does not match the Syncfusion package that is currently installed.
Additionally, in .NET 8 / .NET 9 Blazor projects, it is essential to configure the render mode option correctly for the components to function as expected. Please refer to the corrected code snippet below and update your project accordingly.
Script referring to path correction:
Script referring link: https://blazor.syncfusion.com/documentation/common/adding-script-references
[App.razor]:
|
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> |
Set the render mode for your project based on your requirement:
[App.razor]:
|
<head> …………. <HeadOutlet @rendermode="InteractiveServer" /> </head>
<body> <Routes @rendermode="InteractiveServer" /> …… </body> |
Output screenshot:
Kindly check with attached sample and get back to us if you have any concerns or need further clarification.
Regards,
YuvanShankar A
Attachment: PropManUI_3aaa752f.zip
Thanks for having a look at this and the visual sample and file have helped sort my problem.
Be aware though, that the documentation you pointed to https://blazor.syncfusion.com/documentation/calendar/getting-started-with-web-app#add-blazor-calendar-component
would not have helped, as it still refers to the Blazor.Core package.
So again, thanks for the help and maybe get somebody to check for out of date documentation
Attachment: Static_web_assets_ffc1dcff.jpg
We have considered including these details clearly in the Calendars User Guide (UG) section for better understanding. This change will be reflected in one of our upcoming releases.
If you want to use the script tag with Syncfusion.Blazor.Core package, then you need to install the Syncfusion.Blaazor.Core in your project.
- 3 Replies
- 2 Participants
-
CF Charles Freckleton
- Sep 1, 2025 01:22 PM UTC
- Sep 9, 2025 12:58 PM UTC