ext框架下,实现弹出新窗口

最近做网站时,套用了一个ext框架,使用Response.Redirect或javascript都无法弹出新窗口。

最后使用如下:

ClientScript.RegisterStartupScript(this.GetType(), "onclick", "window.open('" + str_url + "','打印','location=no,resizable=yes,scrollbars=yes')", true);  

posted @ 2011-08-12 16:11  郭振斌  阅读(1162)  评论(0编辑  收藏  举报