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.
3 Answers, 1 is accepted
0
Miroslav Nedyalkov
Telerik team
answered on 23 Jul 2010, 08:32 AM
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
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?
0
Miroslav Nedyalkov
Telerik team
answered on 30 Jul 2010, 10:58 AM
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