Set Scheduler Recurring to Allow for Minutes

1 Answer 58 Views
Scheduler and Reminder
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Troy asked on 10 Jan 2022, 10:11 PM

How can I set the Recurring popup to also show Minutes (as well as what is already there)?  I'm attempting to use this scheduler to essentially visualize various crons, and I need it down to the minute (it seems possible, I just haven't figured it out).

Thanks!

1 Answer, 1 is accepted

Sort by
1
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 13 Jan 2022, 10:49 AM

Hi Troy,

Thank you for your interest in our RadScheduler control for WinForms.

If I have correctly understood your approach, you want to add the Minutely radio button in the Recurrence Pattern section of the RecurrenceEditDialog. Such an option is not available out of the box. However, you can achieve it using custom code. In a few words, you can create custom UserControl that will represent the right part of the Recurrence Pattern section. When a RadioButton is toggled, the UserControl is changed. The UserControl needs to implement the IRecurrenceRuleSettingsControl interface. The next step is to add a new RadioButton for this UserControl. For this step, you can create a custom class that derives from EditRecurrenceDialog. The last step is to override the CreateRadioToSettingsDictionary() method to add the button and subscribe to its ToggleStateChanged event so that you can show your custom UserControl. To better demonstrate what I have in mind, I have created a sample project. Here is a snapshot of what I have implemented.

As a side note, you will need to move the rest of the buttons down a little bit so that they don't overlap with the newly added ones.

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

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