Scheduler not showing any data in the grid - visible only in Agenda but non responsive
Hi,
I also tried to work with the sample in the Getting Started section but I got the same problem as in this
thread:
https://www.syncfusion.com/forums/186542/scheduler-not-showing-any-data
I'm using InteractiveServer rendering and no data is displayed in the grid, only in Agenda view, but If I click on that event or anywhere in the grid, it is unresponsive.
Then I downloaded the sample you provided for that thread user
(https://www.syncfusion.com/downloads/support/forum/186542/ze/BlazorServerNet8_(1)_aac46241).
And it works
Then I created a new project which I attached to this post, and added all necessary things (I hope) to the App.razor, _Imports.razor... as mentioned in Getting Started and by comparing your source code, and after I start the project I get:
Empty grid again, appointment only visible in Agenda section, but unresponsive, nothing happens when you click on it.
I also noticed that I don't get a license warning, like in your sample (I do have a license but no key is added with Syncfusion Licensing).
This puzzles me because I can't even start a simple Getting Started and would like to know the reason why this is happening. I'm using Visual Studio :
I hope I explained everything and thanks for your time.
Best regards
Attachment: SyncSchedulerTest_708832b3.zip
Dear Customer,
Thank you for reaching out with your query. We understand you're experiencing issues with the Syncfusion Scheduler not displaying any data.
Upon reviewing your sample, We noticed a couple of areas that may need your attention:
- In the App.razor file, you've mentioned InteractiveServer for the HeadOutlet. However, it should be @RenderMode.InteractiveServer. Please update it as follows:
<head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <base rel='nofollow' href="/" /> <link rel="stylesheet" rel='nofollow' href="bootstrap/bootstrap.min.css" /> <link rel="stylesheet" rel='nofollow' href="app.css" /> <link rel="stylesheet" rel='nofollow' href="SyncSchedulerTest.styles.css" /> <link rel="icon" type="image/png" rel='nofollow' href="favicon.png" /> <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> <link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" /> <HeadOutlet @rendermode="@RenderMode.InteractiveServer" /> </head>
<body> <Routes @rendermode="@RenderMode.InteractiveServer" /> <script src="_framework/blazor.web.js"></script>
</body> |
- Regarding the script reference, you've referred to the script from Syncfusion.Blazor.Core:
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
|
However, it appears you've installed the Syncfusion.Blazor NuGet package. Therefore, please change the script reference to:
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
|
Alternatively, you can install the Syncfusion.Blazor.Core NuGet package.
For your convenience we have prepared a sample, Check on the attached sample for reference.
Addressing these issues should resolve the problem you're facing. If you have any further questions or need additional assistance, please don't hesitate to ask.
Regards,
Ram
Attachment: SyncSchedulerTest_708832b3_(2)_bf578356.zip
Thank you, it works now.
I just copied
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
from the Getting Started section and your sample, didn't pay too much attention to it.
For my mental clarity, I played a bit with this for future reference:
On my razor page, I had
@page "/"
@using Syncfusion.Blazor.Schedule
@rendermode InteractiveServer
so I removed render mode from App.razor
<HeadOutlet @rendermode="@RenderMode.InteractiveServer" />
to
<HeadOutlet />
and it works.
Regarding packages, yes I had Syncfusion.Blazor installed, instead of Syncfusion.Blazor,Schedule as per the Getting Started section so I installed right packages
and it looks now that
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
this line can be
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
or
<script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
and somehow it works.
Thank you for your time and effort regarding my stupid mistake,
Dear Customer,
We're glad to hear that the solution worked for you! If you have any more questions in the future, don't hesitate to ask.
Best regards,
Ram
- 3 Replies
- 2 Participants
-
DF df
- Mar 2, 2024 08:58 AM UTC
- Mar 6, 2024 06:15 AM UTC