This is a migrated thread and some comments may be shown as answers.

ShowDialog and XBAP

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 29 Jan 2010, 09:04 AM
When I call ShowDialog() on a RadWindow in a standard WPF application then ShowDialog returns when the user closes the RadWindow. When I'm running my application as XBAP in the browser then ShowDialog returns immediately.

Is this an intentional behaviour? If so, what do I have to do to display a modal dialog in a XBAP environment?

Regards,
Michael

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 01 Feb 2010, 10:28 AM
Hi Michael,

 This is expected as the ShowDialog method in XBAP is asynchronous - this means that it returns immediately and shows a modal window (it works like in Silverlight). In WPF desktop application this method is synchronous - this behavior comes from the standard Window control.

The window that is shown when you call the ShowDialog method is still modal, no matter it is shown asynchronously.

Hope this information helps. 

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Michael
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or