2

我有一个恼人的问题。我想以标准方式打开一个弹出窗口:

System.Windows.Browser.HtmlPopupWindowOptions options = new System.Windows.Browser.HtmlPopupWindowOptions(); // Setting the options...

var x = System.Windows.Browser.HtmlPage.PopupWindow(MyPath, "_blank", options);

它在 FF 和 IE 中运行良好,但我在 Chrome 中观察到一个奇怪的行为。弹出窗口实际上打开了,但我已经null进入x. 是的,我设置 allowHtmlPopupWindowtrue.

你有什么想法?提前致谢!

4

0 回答 0