|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ej2_mvc_web_schedule_app.Models
{
public class ScheduleData
{
public List<ZooEventData> GetZooEventData()
{
List<ZooEventData> zooEventData = new List<ZooEventData>();
zooEventData.Add(new ZooEventData
{
Id = 1,
Subject = "Story Time for Kids",
StartTime = new DateTime(2018, 2, 11, 10, 0, 0),
EndTime = new DateTime(2018, 2, 11, 11, 30, 0),
CategoryColor = "#1aaa55"
});
return zooEventData;
}
public class ZooEventData
{
public int Id { get; set; }
public string Subject { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public string CategoryColor { get; set; }
}
}
} |
Hi Gcobani,
Thanks for your update.
We are happy that your reported problem has been resolved at your end. Kindly get back to us if you need any further assistance.
Regards,Nevitha
|
<configuration>
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
...
...
<add namespace="Syncfusion.EJ2"/>
</namespaces>
</pages>
</system.web.webPages.razor>
...
...
<system.web>
<compilation>
<assemblies>
...
...
<add assembly="Syncfusion.EJ2, Culture=neutral" />
</assemblies>
</compilation>
</system.web>
</configuration> |