这是我的代码,可以在新窗口中打开它,效果很好。
ScriptManager.RegisterClientScriptBlock(this,this.GetType(),"ViewDocument","window.open('PdfViewer.aspx?fileName=" + displayFName + " ','_newtab');",true);
以上方法将打开并触发IE中的向上打印POP窗口,但不会在Chrome中触发。 我应该添加更多功能以在chrome中工作吗?请在这里帮助我。谢谢。