Hello,
I use RadScheduler in my project and my appointments have custom colors, icons etc.
I add appointments to RadScheduler manually in the following way:
foreach (var app in appointments)
radScheduler1.Appointments.Add(app);
I have a problem with RadScheduler MonthView. I want to add appointments to MonthView and I want them to be shown sorted by time (IEvent.Start.TimeOfDay), so if app1.Start.TimeOfDay > app2.Start.TimeOfDay and app1.Start.Date == app2.Start.Date then app1 should appear under app2.
I tried to solve this problem by ordering my appointments collection:
var appointments = src.OrderBy(a => a.Start.TimeOfDay);
foreach (var app in appointments)
radScheduler1.Appointments.Add(app);
But this did not help, so is there a way to solve this problem? Actually I need a way for sorting appointments by time in MonthView.
I am sending you an image of the MonthView, where you can see that appointments are ordered in an inccorrect way. Take a look at Dec 20 and you will see the appointment, that appears at the bottom has its Start.TimeOfDay 09:15, so it should appear as the second starting from the top. Why does it behave in such a strange way?
Thank you for your support.
Karl
Karl