I want to relipcate the look and feel of the timeline controls as shown in this section of the product documentations...
http://www.telerik.com/products/winforms/scheduler.aspx#custom-resources-and-resource-grouping
However, using the examples on how to load data in when grouping by resources, but editing it so I can get it working as I want, it fails to load. I have been through my code and can't see anything wrong with however?
If someone can let me have a working sample of how to layout the schedule as shown in the example above, or point out where I'm going wrong, I'd be really grateful!
http://www.telerik.com/products/winforms/scheduler.aspx#custom-resources-and-resource-grouping
However, using the examples on how to load data in when grouping by resources, but editing it so I can get it working as I want, it fails to load. I have been through my code and can't see anything wrong with however?
If someone can let me have a working sample of how to layout the schedule as shown in the example above, or point out where I'm going wrong, I'd be really grateful!
Schedule.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Timeline; Schedule.GetTimelineView().ResourcesPerView = 8; Schedule.GroupType = GroupType.Resource; SchedulerDayViewGroupedByResourceElement headerElement = Schedule.SchedulerElement.ViewElement as SchedulerDayViewGroupedByResourceElement; Resource resource; resource = new Resource(); resource.Id = new EventId("AC00-1"); resource.Name = "AC00-1"; resource.Color = Color.Beige; Schedule.Resources.Add(resource); resource = new Resource(); resource.Id = new EventId("AC00-2"); resource.Name = "AC00-2"; resource.Color = Color.PowderBlue; Schedule.Resources.Add(resource); resource = new Resource(); resource.Id = new EventId("AC00-3"); resource.Name = "AC00-3"; resource.Color = Color.PowderBlue; Schedule.Resources.Add(resource); Schedule.Appointments.BeginUpdate(); Appointment appointment; appointment = new Appointment(new DateTime(2011, 12, 07, 12, 00, 00), new DateTime(2011, 12, 09, 12, 00, 00), "Summary", "Descriptions", "Location"); appointment.ResourceId = this.Schedule.Resources[0].Id; appointment.BackgroundId = (int)AppointmentBackground.Important; appointment.ToolTipText = "This is my custom Tooltip"; Schedule.Appointments.Add(appointment);