As indicated in the title, I'm filling in the RadScheduler with a list (List <MyType>) and there's no way to fill in the resources.
I developed a parser to fill appointments but when i try to access to an appointment resource it crashes.
This is the binding code:
sender, EventArgs e)
//ORIGINAL BINDING MODE
//List<CalendarAppointment> appointments = new List<CalendarAppointment>();
List<Telerik.Web.UI.Appointment> appointments =
appointments = ParsearAppointments(business.GetCalendarAppointments(calendar.Id));
RadScheduler1.DataSource = appointments;
and there is the parser:
List<Appointment> ParsearAppointments(List<CalendarAppointment> list)
List<Appointment> appointments =
Telerik.Web.UI.Appointment a =
---> it crashes here
And the error code:
I would appreciate a way to fix this issue
"Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"
or another way to do this.