我用
Response.Write("<script>window.open('Print.aspx','打印','location=no,resizable=yes,scrollbars=yes');</script>");
会报错:
“ PageRequestManagerParserErrorException:the message received from the server could not be parsed”
------解决方案--------------------
你可以用下面的方法试一试 呵呵 ClientScript.RegisterStartupScript(this.GetType(), "onclick", "window.open('Print.aspx','打印','location=no,resizable=yes,scrollbars=yes')", true);