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

Build your own Reminder and integrate with existing functionality

1 Answer 19 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve Behrendt
Top achievements
Rank 1
Steve Behrendt asked on 08 Mar 2013, 09:51 AM
Hi all,

I'm building an UpdateReminder that periodically looks at the interwebs at a certain address to see if an update is available for the currently running app. It's all good and smooth and working, but I don't want to bother the user too much with the info about a new update being available. Therefore I would like to bake something the RadDiagnostic and RateReminder already do into the UpdateReminder: a checkbox to dismiss it forever and a configurable way to perform the UpdateReminder only every 10, 5, 11 ... usages.

I know I could go and create a table or an xml holding the information when the Reminder did run the last time and so forth, but the RadDiagnostic and RateReminder both already built on top of a mechanism - an XML - that saves that information for me. I don't want to add yet another IO process on the phone, but instead integrate into RadDiagnostic and RateReminder. Is there a way to use that information from those components? Is it possible to derive a class from ReminderBase<ReminderBaseDataModel> and get all the goodness out of the box?

Thanks a lot and keep up the good work!
Steve

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 13 Mar 2013, 08:04 AM
Hello Steve,

Thank you for contacting us.

Yes, why not. You can inherit for ReminderBase and get a lot of information like LastReminderDisplayDate and an option to skip further reminders. However RadDiagnostics is a completely separate control and if you want parts of its data as well, you can, for example, create its instance inside your control. If you want to get some inspiration, you can have a look at the source code of RadControls, available for download at Telerik.com, and see how we have implemented our reminders.

Greetings,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart
Asked by
Steve Behrendt
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or