Is it possible to bind an instance of ScheduleView to an Interface? It seams to mostly work but I can not get the new appoint dialog to open when i'm binding to a custom interface.
Thanks,
Ryan
3 Answers, 1 is accepted
0
Valeri Hristov
Telerik team
answered on 14 Jun 2011, 12:34 PM
Hello Ryan,
What do you mean by "bind an instance of ScheduleView to an Interface"? If you want to use your custom classes for AppointmentsSource, you need to implement the IAppointment interface and RadScheduleView will work fine.
All the best,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
I'm displaying two different types of appointments on one schedule. one type shows how many people are needed to be working during a time frame (coverage needed) and the other show an employees shift. the problem is that i need to handle editing the different types of appointments differently. my thought was if I was able to bind my schedule view appointment source to a List<IAppointment> that contained objects of two different classes that both implement IAppointment then i could check what the class of the appointment was when it was being edited and handle it accordingly. in the time since i posted this I figured out that I can make both of my classes extend Appointment and bind my appointment source to a List<Appointment> then when the appointment is edited i can still tell if it is a shift appointment or a coverage needed appointment.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items