This is a migrated thread and some comments may be shown as answers.

Calculate RecurrenceState

1 Answer 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Eric Smith
Top achievements
Rank 1
Eric Smith asked on 30 Nov 2016, 08:02 PM

Is it possible to determine RecurrenceState for an Appointment (by AppointmentID) in code without instancing a RadScheduler?
I can get the RecurrenceState for any Appointment by instancing a RadScheduler in code and databinding the instance, then looking up the Appointment by ID.
My concern is, as I process more Appointments that this process will be too slow.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 05 Dec 2016, 11:16 AM
Hello Eric,

I am afraid that you won't be able to get the RecurrenceState of an appointment without instancing a RadScheduler. The reason for that is the fact that in the database (or any other source) you are keeping only the Master appointment, which holds the RecurrenceRule itself. The re-occurring events are created in the RadScheduler, based on that RecurrenceRule on data binding. Therefore, only after that binding you will be able to get a reference to the created dynamically appointments.

Regards,
Veselin Tsvetanov
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
Tags
Scheduler
Asked by
Eric Smith
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or