Showing a MessageBox in Silverlight 2.0 Beta 1
Posted by anoriginalidea on March 10, 2008
I noticed a post on Technorati that claimed that a Msgbox (or MessageBox) capability wasn’t available Silverlight.
Well, that’s not exactly true. It’s just in a place that isn’t so obvious:
System.Windows.Browser.HtmlPage.Window.Alert("Hello World")
I find this interesting because it shows how integrated Silverlight is with the browser experience.
This is a good thing for creating browser based applications. The goodies in System.Windows.Browser provide a rich programming model for web page integration.
Some hope that Silverlight will be used for creating cross platform desktop style applications. It’s close integration with the browser seems to indicate that this is not a scenario they’re catering for, at least initially.
(Although I suppose a full screen browser window would equate to the same thing…)
Links
http://technorati.com/posts/h5FUAU2oBG9cu6csT4B12MIe2vM0IYbVeIqb2ZfOLEM%3D
This entry was posted on March 10, 2008 at 12:49 pm and is filed under Silverlight. Tagged: messagebox, msgbox, Silverlight. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

