You can add a Resource to the appointment before adding it to the Appointments collection. Using your code, here is how to add a resource to a new appointment...
i = 0; i < 10; i++)
//new-up an Appointment object
var app =
Start = DateTime.Now.AddHours(i),
End = DateTime.Now.AddHours(i).AddMinutes(30),
//add the Resource to the appointment
//add the appointment to the ScheduleView
Note: you don't have to add the ResourceType when initially adding them, so you can shorten your approach to this:
var rt =
I have built a sample application based on your code, find it attached. Go to MainViewModel.cs to see the implementation. I create sample appointments and add them to each Resource (Hall A, Hall B and Hall C).
Thank you for contacting Support and thank you for choosing Telerik.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.