Stop Code Execution with Pop-up

4 posts, 0 answers
  1. Andrew
    Andrew avatar
    24 posts
    Member since:
    Jun 2009

    Posted 20 Jul 2010 Link to this post

    Is it possible to have the RadWindow alerts function like the default MessageBox in that they halt code execution until the user makes a selection.  The onClose callback works but ends up needlessly complex code, especially if you need to prompt the user conditionally or multiple times.
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 23 Jul 2010 Link to this post

    Hello Andrew,

     In WPF desktop application the message dialogs end synchronously (they hold the code execution), but the methods don't return dialog result. In XBAP the dialog methods end asynchronously and the Closed event must be used and it is not possible to make them end synchronously. This is how the RadWindow work.

    Hope this information is helpful.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Andrew
    Andrew avatar
    24 posts
    Member since:
    Jun 2009

    Posted 27 Jul 2010 Link to this post

    Is it possible to retrieve the dialog results from the DialogParameters object in WPF?  Or in any other way without using the call back method?
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 30 Jul 2010 Link to this post

    Hi Andrew,

     Currently there is no other way to find the DialogResult of the Alert dialogs. This is because we designed the RadWindow control to work in all platforms - Silverlight, WPF Desktop and WPF Browser application in the same manner.

    Kind regards,
    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top