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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Help to debug why the scheduler is not displaying the data in the control

Thread ID:

Created:

Updated:

Platform:

Replies:

128049 Dec 28,2016 06:15 PM UTC Jan 2,2017 05:19 AM UTC ASP.NET Core 2
loading
Tags: Schedule
dsapo
Asked On December 28, 2016 06:15 PM UTC

Hi:

I had more than a day trying to detect why the schedule control is not displaying the data that is coming from my GetData action method that is invoked by the datamanager.

The sample that you sent me works fine, so i created a new ASP.NET Core mvc project from scratch but the data is not being displayed in the calendar.  I hardcoded the data in the GetData to make it simple.  I checked that all the js, css, and configuration are the same in these two projects.  Everything is the sample.  Also the view is the same.

So my question is, what technique may I use to debug that the view is receiving the model, because the action method is invoked properly, but no data is being shown in the control.

No error is being raised.

Appreciate your help.

David

dsapo
Replied On December 28, 2016 08:48 PM UTC

Hi again:

I found the problem myself that was caused by the ASP.NET core latest version rendering the json properties in lower case.

So I solved this adding this code in the Startup class:


     services.AddMvc()
                .AddJsonOptions(options => options.SerializerSettings.ContractResolver = new DefaultContractResolver());


Regards,

David

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 2, 2017 05:19 AM UTC

Hi David, 
  
Thanks for your update and we are happy to hear that you found a solution.  
 
Kindly let us know, if you need any further assistance. 
 
 
Regards, 
Karthigeyan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;