Hi,
I am trying to use the scheduler in MVC4 C# razor application.
Here are the environment details:
VS 2012, MVC4 Razor application with SQL server database.
I am able to see the data in model, and properly getting binded if i use the syncfusion grid.
But the same if i replace the scheduler control, the appointments are not shown. I am unable to figure out where am i going wrong to bind the data to scheduler. Here is the sample code:
@{ Html.Syncfusion().Schedule(
"EssentialSchedule1")
.DataSource(Model)
.Width(850)
.Height(550)
.Skins(
ScheduleSkins.Marble)
.StartHour(8)
.EndHour(19)
.CurrentDate(
new DateTime(2012,3,15))
.HighlightBusinessHours(
true)
.DateFormat(
"MM/dd/yyyy HH:mm:ss")
.BindList(columns =>
{
columns.IdField(
"Id");
columns.SubjectField(
"Subject");
columns.LocationField(
"Location");
columns.StartTimeField(
"StartTime");
columns.EndTimeField(
"EndTime");
columns.DescriptionField(
"Description");
columns.OwnerField(
"Owner");
}).Render();
}
Can you please help me out in resolving this issue, ASAP?
Regards,
Madhavi
Scheduler Issue_b892c930.rar