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

Is it possible to show Reminders as anything but hours?

1 Answer 33 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 2
Scott asked on 04 Oct 2013, 03:49 AM
I am looking to change the reminders for the scheduler to days instead of hours? I can't find anything on this anywhere, is it possible?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 08 Oct 2013, 06:33 PM
Hello Scott,

Thank you for writing.

Although this functionality is not directly supported, for this case you can get the RadReminderBindableObject with reflection:
var remindOjects = schedulerReminder.GetType().
    BaseType.GetField("reminderBindableObjects", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(schedulerReminder)
    as ObservableCollection<RadReminderBindableObject>;
 
RadReminderBindableObject remindObject = remindOjects[0];
remindObject.DueInFormatting+=obj_DueInFormatting;

Then you can subscribe to the DueInFormatting event, calculate the desired format and change the text:
void obj_DueInFormatting(object sender, RadDueInArgs e)
{
    e.DueInText = "test";
     
}

Please let me know if there is something else I can help you with. 

Regards,
Dimitar
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Scheduler and Reminder
Asked by
Scott
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or