I am loading both the Resources and the Events from SQL Server and already had this working in the Scheduler control. When binding in the Page_Load for the Calendar control, I have verified that data is coming back in the debugger but the events are not displaying. Am I missing something?
protected void Page_Load(object sender, EventArgs e)
DayPilotCalendar1.StartDate = new DateTime(DateTime.Today.Year, DateTime.Today.Month,
DateTime endDate = DayPilotCalendar1.StartDate.AddHours(22.00);
int days = (int)Math.Ceiling((endDate - DayPilotCalendar1.StartDate.AddHours(6.00)).TotalDays);
DayPilotCalendar1.Days = days;
SchedulerDALC dalc = new SchedulerDALC();
DayPilotCalendar1.DataSource = dalc.GetEvents(DayPilotCalendar1.StartDate, DayPilotCalendar1.Days);