public static void OpenWindowInNewPage(Page curPage, string destUrl)
    {
        string scriptString = string.Format("<script language='JavaScript'>window.open('" + "{0}" + "','" + "','toolbar=no,menubar=no,status=yes,location=no, resizable=yes,scrollbars=no');<", destUrl);
        scriptString += "/";
        scriptString += "script>";
        if (!curPage.IsStartupScriptRegistered("Startup"))
        {
            curPage.RegisterStartupScript("Startup", scriptString);
        }
    }

相关文章:

  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2022-02-17
  • 2021-11-25
  • 2022-02-08
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-12-06
  • 2022-02-18
  • 2022-12-23
  • 2021-06-22
相关资源
相似解决方案