Howto use Notifiy() / Localization

2 posts, 0 answers
  1. Stefan
    Stefan avatar
    21 posts
    Member since:
    Oct 2013

    Posted 22 Nov 2013 Link to this post


    I do not quite understand the concept of how the RateReminder works. I added the creation of the reminder to InitializePhoneApplication():

    RateReminder.RecurrencePerUsageCount = 5;
    RateReminder.RecurrencePerTimePeriod = new TimeSpan(20, 0, 0, 0);

    The goal is to show the reminder every 5 app starts or every 20 days (which ever comes first). Notify() is called when the MainPage is shown.The first 4 starts nothing happes, what is fine of course. On the 5th start the reminder is shown. But it shows up again each time the MainPage is activated. I thought that Notify() would notice on its own that it has been executed on this run and only show the reminder again when the app started the next 5 times. Do I have to handle "ReminderWasShownOnThisExecution" on my own?

    How do I localize the Reminder? I read your documentation and the other post on this forum but I was not able to translate the dialog.

    I use the AppResources.resx which was created automatically with the project. I added the following strings to the resx and added the ResourceManager to the Telerik controls:
    Telerik.Windows.Controls.InputLocalizationManager.Instance.ResourceManager = AppResources.ResourceManager;

    However this did not had any effect on the reminder...

  2. Todor
    Todor avatar
    772 posts

    Posted 22 Nov 2013 Link to this post

    Hello Stefan,

    Thank you for your interest in RadRateApplicationReminder.

    You can have a look at this blog post, which presents the Reminder with more details. You are not supposed to handle "ReminderWasShownOnThisExecution", after all this is why we have the RecurrencePerUsageCount. Make sure your setup is correct and the reminder is shown because of the usage and not because of the time elapsed. As the the localization, each assembly has its own localization manager and in the case of RadRateApplicationReminder, you need to use the PrimitivesLocalizationManager:

    Telerik.Windows.Controls.PrimitivesLocalizationManager.Instance.ResourceManager = AppResources.ResourceManager;

    If you need further assistance, don't hesitate to write us back.

    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