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

最后使用如下:

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2021-12-07
  • 2021-12-10
  • 2021-11-28
猜你喜欢
  • 2021-04-08
  • 2022-01-15
  • 2021-05-20
  • 2021-10-09
  • 2021-05-26
  • 2021-10-19
相关资源
相似解决方案