11、如何使用response.redirect重定位到一个页面(在新窗口打开)?
        Response.Write("<script language='javascript'>window.open('http://www.xyz.com', 
null, null);</script>")

解决方案 »

  1.   

    楼上,我这样不行啊!
     Response.Write("<script>window.open('WebForm1.aspx?bmh='" & TxtBmh.Text & "',null, null)</script>")
      

  2.   

    Response.Write("<script>window.open('WebForm1.aspx?bmh=" & TxtBmh.Text & "',null, null)</script>")
    这样可以,但是没有最大化,怎么办?
      

  3.   


            Response.Write("<script language='javascript'>" + Chr(13))
            Response.Write("window.open('" + sUrl + "','popWin','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=500,top=10,left=10'); " + Chr(13))
            Response.Write("</script>" + Chr(13))