急着要用  又忘记代码了   帮忙1

解决方案 »

  1.   

    就是一个JavaScript啊。GOOGLE一下就出来了。^_^
      

  2.   

    public static string JSWindowOpen(string url, int height, int width)
    {
    return "<script>window.open('"+url+"', 'TMS', 'height="+height+", width="+width+", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')</script>";
    }
      

  3.   

    Response.Write("window.showModalDialog('WebForm1.aspx','status:false;dialogWidth:400px;dialogHeight:300px');");Response.Write("window.open('WebForm1.aspx',null,'height=200,width=400,status=yes,toolbar=no,menubar=no,location=no');";
      

  4.   

    麻烦自己把里面的SCRIPT抽出来即可。