Monday, August 3, 2009

Silverlight Alert Box

System.Windows.Browser.HtmlPage.Window.Invoke("Alert", "Testing");

2 comments:

ASP.NET Solution said...
This comment has been removed by the author.
ASP.NET Solution said...

Silverlight provide the option to call most of the javascript method, Alert, Confirm, prompt being some of the most common one's. At the same time it also provide its own MessageBox class that can help achieve functionality similar to that of alert and confirm. Below link provide good explanation of the same.

http://www.a2zmenu.com/Silverlight/How-to-display-alert-prompt-and-confirm-box-in-Silverlight.aspx