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
close icon

Scheduler not showing task views (month, week day etc)

Hello,

I'm trying to use the Scheduler component in a Blazor Server project. I added the Syncfusion.Blazor NuGet package. Then, added the component to the Blazor page with the following code:

<SfSchedule TValue="Object"></SfSchedule>


Also in Program.cs I added Syncfusion with the following line:

builder.Services.AddSyncfusionBlazor();


I also added the license registration line below:

Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("{licence key}");


I can see the component displayed, but it doesn't have the task views on the top, as shown in the screenshot:

Screenshot 2022-12-19 at 16.50.39.png


Do you know what might cause this?

Thanks.



3 Replies

SR Swathi Ravi Syncfusion Team December 20, 2022 06:41 AM UTC

Hi Volkan,


You can fix the issue by referring to the script in the Layout.cshtml page, as shown in the shared snippet below. Refer to the below UG for more details.


https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-visual-studio#add-script-reference


[Layout.cshtml]

<head> 

<scriptsrc=https://cdn.syncfusion.com/blazor/20.3.61/syncfusion-blazor.min.js type="text/javascript"></script>

</head>


Regards,

Swathi Ravi


Attachment: BlazorServerScheduler_580c232c.zip


VP Volkan Paksoy December 20, 2022 07:46 AM UTC

Awesome. It works now. Thank you very much 



RV Ravikumar Venkatesan Syncfusion Team December 22, 2022 03:17 PM UTC

You're welcome! Please get back to us if you need any further assistance.


Loader.
Live Chat Icon For mobile
Up arrow icon