When I set a group by on the Timeline View I lose my records. I am using a List<ScheduleInfo> as my datasource
List<ScheduleInfo> appointments = new List<ScheduleInfo>();
appointments.Add(new ScheduleInfo(new DateTime(2011, 11, 18, 8, 00, 00),
new DateTime(2011, 11, 22, 13, 30, 00),
"Course: 1234 - Instructor: Me",
"Dorm 1"));
appointments.Add(new ScheduleInfo(
new DateTime(2011, 11, 15, 8, 00, 00),
new DateTime(2011, 11, 20, 13, 30, 00),
"Course: 4321 - Instructor: Me",
"Dorm 2"));
appointments.Add(new ScheduleInfo(
new DateTime(2011, 11, 15, 8, 00, 00),
new DateTime(2011, 11, 20, 13, 30, 00),
"Course: 4321 - Instructor: Me",
"Dorm 1"));
RadScheduler1.DataSource = appointments;
RadScheduler1.DataBind();
And setting my GroupBy to the Dorm attribute of the ScheduleInfo
<TimelineView NumberOfSlots="28" ColumnHeaderDateFormat="dd"
GroupBy="Dorm" GroupingDirection="Vertical" HeaderDateFormat="MM/dd/yyyy" />
Any ideas why my records are disappearing?
Thanks,
Chip
List<ScheduleInfo> appointments = new List<ScheduleInfo>();
appointments.Add(new ScheduleInfo(new DateTime(2011, 11, 18, 8, 00, 00),
new DateTime(2011, 11, 22, 13, 30, 00),
"Course: 1234 - Instructor: Me",
"Dorm 1"));
appointments.Add(new ScheduleInfo(
new DateTime(2011, 11, 15, 8, 00, 00),
new DateTime(2011, 11, 20, 13, 30, 00),
"Course: 4321 - Instructor: Me",
"Dorm 2"));
appointments.Add(new ScheduleInfo(
new DateTime(2011, 11, 15, 8, 00, 00),
new DateTime(2011, 11, 20, 13, 30, 00),
"Course: 4321 - Instructor: Me",
"Dorm 1"));
RadScheduler1.DataSource = appointments;
RadScheduler1.DataBind();
And setting my GroupBy to the Dorm attribute of the ScheduleInfo
<TimelineView NumberOfSlots="28" ColumnHeaderDateFormat="dd"
GroupBy="Dorm" GroupingDirection="Vertical" HeaderDateFormat="MM/dd/yyyy" />
Thanks,
Chip