I'm using RadScheduler with a custom DbSchedulerProviderBase. How can I tell, inside DbSchedulerProviderBase.Delete(RadScheduler, Appointment) method if user chose to delete just that recurrence occurrence or the entire serie?
TIA,
Rubens
3 Answers, 1 is accepted
0
T. Tsonev
Telerik team
answered on 03 Aug 2010, 08:17 AM
Hello Rubens,
The delete operation will not be called for occurrences as they're not represented by "physical" record and are generated on the fly.
Deleting an occurrence will actually call the Update method of the master appointment. The recurrence rule will be updated to include the occurrence date as "recurrence exception date".
I hope this helps.
Regards,
Tsvetomir Tsonev
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 implementing a custom DbSchedulerProviderBase and I need to know if user chose to update/delete just an occurrence or entire serie to persist that in my custom database schema. In this particular schema, I need to split exceptions from their master records.
I tried to replace all advanced form feature by using RadScheduler.OnClientAppointmentEditing event and calling eventArgs.get_editingRecurringSeries() but it's taking too much development effort. I'm looking for a simpler way.
TIA
0
T. Tsonev
Telerik team
answered on 06 Aug 2010, 02:25 PM
Hi Rubens,
I think the EditingRecurringSeries properties of the RadScheduler instance is what you need.
I hope this helps.
Greetings,
Tsvetomir Tsonev
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