Build your own Reminder and integrate with existing functionality

2 posts, 0 answers
  1. Steve Behrendt
    Steve Behrendt avatar
    12 posts
    Member since:
    Feb 2010

    Posted 08 Mar 2013 Link to this post

    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!
  2. Todor
    Todor avatar
    774 posts

    Posted 13 Mar 2013 Link to this post

    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, and see how we have implemented our reminders.

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