Author: Kevmeister | Posted on: 5/28/2008 6:09:18 PM | Views : 332

Simple problem, so I hope there is a simple answer:

I want to display a message-box. Not a Windows box using Browser.Window.Alert( ), but something within Silverlight itself in order to get pretty visuals (eg. using the Popup class etc).

The problem is not displaying the content but handling the messages. A traditional implementation (eg. WinForms, perhaps even WPF) would result in the MessageBox function running its own message pump, until such time as one of the message-box options has been clicked, and then the result can be returned to the caller.

Is this possible in Silverlight or am I going to have to jump through hoops and do it all asynchronously?

(<whinge>I really dislike obfuscating my code with asynchronous behaviour when I have no good need for it</whinge>).

The WPF resources certainly don't help me: there's no Window class (for Window.ShowDialog), there's no DispatcherFrame (to run an inner ...

Go to the complete details ...