日期:2014-05-16  浏览次数:20675 次

ASP.net使用了AJAX控件后,怎么点击按钮弹出新窗口? - Web 开发 / Ajax
我用
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);