Hi Support:
I was testing using this tutorial:
https://help.syncfusion.com/aspnet-core/schedule/getting-started
I added this action:
public List<ScheduleData> GetData()
{
ScheduleData appoint = new ScheduleData();
return appoint.getSchedulerData(); // returns the appointment data, which gets bind to the Scheduler control
}
But when I run the page, I get a page with a json data, as follows:
[{"programId":0,"programName":"Turtle Walk","comments":"Night out with turtles","programStartTime":"2016-06-02T03:00:00","programEndTime":"2016-06-02T04:00:00","isAllDay":true,"isRecurrence":false,"recurrenceRule":null},{"programId":0,"programName":"Winter Sleepers","comments":"Long sleep during winter season","programStartTime":"2016-06-03T01:00:00","programEndTime":"2016-06-03T02:00:00","isAllDay":false,"isRecurrence":false,"recurrenceRule":null},{"programId":0,"programName":"Estivation","comments":"Sleeping in hot season","programStartTime":"2016-06-04T03:00:00","programEndTime":"2016-06-04T04:00:00","isAllDay":false,"isRecurrence":false,"recurrenceRule":null}]
But if I change the code to:
public ActionResult Default()
{
ScheduleData appoint = new ScheduleData();
return View(appoint.getSchedulerData());
}
The schedule control is displayed but without data.
What do I am missing here.
Thanks in advanced.
David