Can Silverlight initiate Page Refreshes

silverlight-2.0

UPDATE: An alternative title for this could be: How do I call javascript from my silverlight 2.0 application.

Here is a quick question for all you Silverlight gurus.

I have a Silverlight app that displays a stopwatch countdown. The app is hosted in an ASP.Net web application,
What I want it to do is when the stopwatch hits zero, the app forces a server page refresh of the hosting page.

Is this possible?

If so, any chance of a code snippet?

Best Answer

Why not simply stay on the Silverlight side and call

System.Windows.Browser.HtmlPage.Document.Submit();

Works a treat for me. The whole page gets reloaded and the Silverlight control kicks backs in.