«

»

Oct 21

How can I close browser window from Silverlight?

You can do that by invoking JavaScript code. Calling just window.Close() does not work in Chrome. The following code also bypasses IE prompt for confirmation.

System.Windows.Browser.HtmlPage.Window.Eval("window.open('', '_self', '');window.close();");