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

Recurrence Appointment Usage

1 Answer 11 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 Dec 2016, 10:09 PM

Hi everybody,

   I have a question about how I can compare the current time against the schedule appointment. I set up the appointment with the Start date time (12-01-2016 7:00 PM), End date time (12-01-2016 7:15 PM), and the Recurrence Rule(Recur 1 time every week on Thursday). When the time comes, I'll display my image. For instance, if the current time is 12-01-2016 5:00 PM, my application does not show the image, and it does show up when the time is 7:01 PM. What is the best way to compare the current time against the appointment. I attach my screenshot here as well.

   We purchased UI for ASP.NET AJAX from Telerik. If you need our license number, I can ask our IT department. Thank you.

   D.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 06 Dec 2016, 10:24 AM
Hi David,

After populated to the RadScheduler, each recurring event has a number of instances (the actual appointments rendered in the Scheduler). You could get each instance of appointment in the ‚ÄčAppointmentCreated RadScheduler event and compare its date with the current date.

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
David
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or