HttpContext.Current.Response.Redirect("../AdminLogin.aspx?BackUrl=" + rawUrl);
              
HttpContext.Current.Response.Write("<script language=javascript>window.ope('../AdminLogin.aspx这里这么写','_parent')</script>");我想把Response.Redirect跳转改为window.open连接 怎么改 我改来改去都错 呜呜呜!

解决方案 »

  1.   

    HttpContext.Current.Response.Write(" <script language=javascript>window.ope('../AdminLogin.aspx这里这么写','_parent') </script>");写错了HttpContext.Current.Response.Write(" <script language=javascript>window.open('../AdminLogin.aspx') </script>");你直接这样写算了,若非要加什么控制这窗口的属性再另外说,具体的可以google下
      

  2.   

    http://www.web3.cn/Content,2007,1,28,180.aspx
      

  3.   

    呜呜呜 偶用的是框架不是模板页 所以要用window.open
    所以这条语句写不出来了("../AdminLogin.aspx?BackUrl=" + rawUrl) 大家帮我写下拉 谢谢!
      

  4.   

              
    HttpContext.Current.Response.Write(" <script language='javascript'>window.parent.open('../AdminLogin.aspx这里这么写');</script>"); 
      

  5.   


    HttpContext.Current.Response.Write(" <script language=javascript>window.ope('../AdminLogin.aspx这里这么写','_parent') </script>");写错了 
      

  6.   

    主要是后面我想跟的参数哦!我写来写去都出错
    "../AdminLogin.aspx?BackUrl=" + rawUrl
      

  7.   

    ope这里我复制的时候少了个n 呵呵!
      

  8.   

    不是吧?这样?
    HttpContext.Current.Response.Write(" <script language='javascript'>window.open('../AdminLogin.aspx?BackUrl="+rawUrl+"');</script>");