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

MessageBox Replacement

2 Answers 160 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael Hilgers
Top achievements
Rank 1
Michael Hilgers asked on 17 Feb 2011, 10:12 AM
Hi everyone,

i'm looking for a real replacement of the Microsoft Silverlight MessageBox (because it's ugly ...).

Telerik is offering the RadAlert and RadConfirm MessageBoxes, but they are not equivalent to the .net MessageBox because they don't offer an immediate result like the .net MessageBox. Or am i wrong and it can offer an immediate result like:
DialogResult res = MessageBox.Show("Do you want to delete the item?", "Delete", MessageBoxButton.OKCancel);

For the RadAlert and RadConfirm MessageBoxes i only find the possibilities to subscribe to their "OnClosed" Event to get the users choice. And that's to late for my needs. (http://www.telerik.com/help/silverlight/radwindow-features-predefined-dialogs.html)

Andy ideas what i can do?

Regards,
Michael

2 Answers, 1 is accepted

Sort by
0
Michael Hilgers
Top achievements
Rank 1
answered on 21 Feb 2011, 09:01 AM
push
0
George
Telerik team
answered on 22 Feb 2011, 03:00 PM
Hi Michael,

 
Thank you for contacting us.

The MessageBox.Show method calls a function of the browser. The MessageBox doesn't belong to Silverlight. As the MessageBox is opened modal by the browser, the browser waits for the response, and so also Silverlight has to wait for it. 

The RadWindow components are silverlight components and we cannot implement such functionality. We cannot freeze the main thread. 

Please do not hesitate to contact us if you require any further information.


Greetings,
George
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Window
Asked by
Michael Hilgers
Top achievements
Rank 1
Answers by
Michael Hilgers
Top achievements
Rank 1
George
Telerik team
Share this question
or