Hello,
I try to follow this demo: http://demos.telerik.com/silverlight/#ScheduleView/Grouping/GroupingAndFiltering
But not to load the appointments from xml. I try to build them from our system:
public ObservableCollection<Appointment> Appointments { get; set; }
Appointments = Context.Messages.Where(x => x.IsTask).Select(x => new Appointment()
{
Body = x.Text,
Start = x.StartDate,
End = DbFunctions.AddMinutes(x.StartDate, 20).Value,
Resources = new ResourceCollection()
{
new Resource(x.Sender.UserName, "User")
}
}).ToObservableCollection();
How I can do this when Resources not have a setter ?
Best regards,
Saykor
I try to follow this demo: http://demos.telerik.com/silverlight/#ScheduleView/Grouping/GroupingAndFiltering
But not to load the appointments from xml. I try to build them from our system:
public ObservableCollection<Appointment> Appointments { get; set; }
Appointments = Context.Messages.Where(x => x.IsTask).Select(x => new Appointment()
{
Body = x.Text,
Start = x.StartDate,
End = DbFunctions.AddMinutes(x.StartDate, 20).Value,
Resources = new ResourceCollection()
{
new Resource(x.Sender.UserName, "User")
}
}).ToObservableCollection();
How I can do this when Resources not have a setter ?
Best regards,
Saykor