Hello Bronwen,
Please, accept my apologies for the delayed response. I saw that you had found a solution. It's great. It did not cross my mind.
I have another solution for you. You can use RadScheduler's
Appointments property. It inherits ObservableCollection<IAppointment> and you can subscribe to the
CollectionChanged event. You can use it as shown in the following snippet:
public Window1()
{
InitializeComponent();
Scheduler.AppointmentProvider = new CustomProvider();
Scheduler.Appointments.CollectionChanged += Appointments_CollectionChanged;
}
void Appointments_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{
foreach ( CustomAppointment appointment in e.NewItems )
{
//Save in database
}
}
We think about working with database. Our idea is to use AppointmentProvider to save, delete, update appointments in a store (database, file, etc.). We will try to extend it for the release version and add some samples with a custom database provider.
We
updated your Telerik points for your involvement.
Best wishes,
Jordan
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.