Am I missing something?

Thread is closed for posting
2 posts, 0 answers
  1. John
    John avatar
    7 posts
    Member since:
    Nov 2011

    Posted 14 May 2012 Link to this post

    I'm using RadDiagnostics to display the yes/no message box for sending diagnostic information after an exception occurs. However, if I click "no" and choose not to send the diagnostic information my app remains open. How do I get the app to close after the message box appears?
  2. Todor
    Todor avatar
    798 posts

    Posted 15 May 2012 Link to this post

    Hi John,

    Thank you for your question.

    This is a little tricky as there is no official way to exit a Windows phone application, because supposedly you don't need to. One trick for this is to throw an unhandled exception. However, what the Diagnostics component does is, to "handle" the unhandled exception and prevent the application from exiting, so this would not help in this case. If you set the Diagnostics' HandleUnhandledException property to false, the application will quit, when an exception is thrown, but you will not get a chance to send the report. We will continue evaluating our options here and try to improve the behavior in this scenario with our next release, which is coming next month.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top