How to open window pop-up from Silverlight Out-of-Browser?

Posted by Jeaffrey Gilbert on Stack Overflow See other posts from Stack Overflow or by Jeaffrey Gilbert
Published on 2010-06-11T08:18:23Z Indexed on 2010/06/11 8:23 UTC
Read the original article Hit count: 330

I need to open window pop-up from Silverlight Out-of-Browser application.

I've added parameter <param name="enablehtmlaccess" value="true" /> in Index.html, but executing this from code behind:

HtmlPage.Window.Navigate(new Uri(myUrl), "_blank", myFeatures);

still returns error:

Silverlight OOB Error: The DOM/scripting bridge is disabled.

I've read about this post, does it mean that I can't open pop-up from OOB? Why I need to do this, because actually I've shown the HTML page in OOB Silverlight by WebBrowser control within ChildWindow but when I click an anchor in HTML page, which linked to _blank page, it jumps to my default browser. It doesn't meet the requirement, except launch that HTML index page also in default browser at the first time, triggered from button control in OOB Silverlight. Is that possible?

Please advice, thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight