Recurrence Appointment Usage

2 posts, 0 answers
  1. David
    David avatar
    6 posts
    Member since:
    Oct 2016

    Posted 01 Dec 2016 Link to this post

    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.

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    351 posts

    Posted 06 Dec 2016 Link to this post

    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.
Back to Top