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 seems broken for - Newtonsoft.Json errors

Here's my page code

@using Syncfusion.EJ2.Blazor.Schedule
@page "/"


<EjsSchedule TValue="object"></EjsSchedule>

Here's a screenshot of the errors I get in JS console in Chrome

Any ideas on what may be wrong?

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team August 8, 2019 07:29 AM UTC

Hi Matthew, 

Syncfusion greetings and sorry for the delay. 

We could reproduce the reported issue in Client Blazor sample. In v17.2.40, blazor nuget generic type support was provided which is the cause for serialization error in client sample. Kindly add the below code example in .csproj file to overcome the issue. We have prepared the below sample for your reference, kindly refer it. 

<PropertyGroup> <BlazorLinkOnBuild>false</BlazorLinkOnBuild></PropertyGroup> 


MA Matthew August 8, 2019 04:26 PM UTC

Hi Karthi,

Many thanks, modifying the project file as directed has done the trick. I'm guessing this was a tricky one to find, I'm just glad I now have a solution.

Again, many thanks for finding the problem.

KK Karthigeyan Krishnamurthi Syncfusion Team August 9, 2019 04:34 AM UTC

Hi Matthew, 
We are happy that our solution resolved your issue. 
Please let us know for further assistance. 

Live Chat Icon For mobile
Up arrow icon