这是我在新窗口中打开它的代码,效果很好。
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "ViewDocument", "window.open('PdfViewer.aspx?fileName=" + displayFName + " ' ,'_newtab');", true);
上述方法在 IE 中打开并触发打印弹出窗口,但在 Chrome 中没有。我应该添加更多内容以在 chrome 中工作吗?请帮帮我。谢谢。