Can Silverlight initiate Page Refreshes?

前端 未结 5 2177
-上瘾入骨i
-上瘾入骨i 2020-12-06 00:14

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.

5条回答
  •  甜味超标
    2020-12-06 01:09

    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.

提交回复
热议问题