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

Appointment Time Event

3 Answers 58 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Troy asked on 11 Oct 2020, 02:24 AM

Is there an event that fires when the current time hits the appointment time?

Or should I be using the reminders and setting a time of 0?

If that is the case, is it possible to not render the reminder window at all?  

In short, I want to use the scheduler to schedule appointments (events), and have an event fire when they are hit, but not show the reminder window at all. I want to do my own custom logic at that point.

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Oct 2020, 04:51 AM

Hello, Troy,

There is no specific event that is fired when the time of a specific appointment has come. According to the provided information, indeed the reminders functionality in RadScheduler would be quite useful for your scenario. The following help article is quite useful on this topic:

https://docs.telerik.com/devtools/winforms/controls/scheduler/reminders/radschedulerreminder 

If you don't want to display the reminder in the edit dialog, you can simply hide the reminder dropdown. For this purpose, it would be necessary to create a custom EditAppointmentDialog and set the Visibility of the radDropDownListReminder control to Hidden/Collapsed in the overridden OnLoad event. An alternative solution is to override the LoadReminders method and leave it empty without executing the basic logic.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
answered on 12 Oct 2020, 04:55 PM

Dess,

Thanks for your reply!  Its not that I want to hide the reminder dropdown on the add/edit appointment dialog.

I don't want the reminder popup itself to appear.  I just want the event to fire at the appropriate time, so I can then process the custom code I need to without any UI element for the reminder at all.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Oct 2020, 06:46 AM

Hi, Troy,

You can download the source code of the Telerik UI for WinForms suite from your Telerik account and have a look at the internal implementation of RadScheduler and how it shows the RadAlarmForm. Actually, it uses a timer in which Tick event RadScheduler checks for upcoming appointments.

If you don't want to use reminders functionality which shows a dialog with the upcoming events, you can just use a standard timer and check the current time and what is stored in the Appointments collection. Then, you can execute the desired logic in the Tick event.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Scheduler and Reminder
Asked by
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or