window.open(url,"name","toolbar=0,menubar=0,width=300,resizable=1")

解决方案 »

  1.   

    window.open()要引用什么空间:using ……
      

  2.   

    windows.open 是javascript啦!!
      

  3.   

    如何应用?我是从windows开发刚转的请多指教??
      

  4.   

    D:\Inetpub\wwwroot\WebApplication1\index.aspx.cs(11): 找不到类型或命名空间名称“window”(是否缺少 using 指令或程序集引用?)
      

  5.   

    引用部成功?D:\Inetpub\wwwroot\WebApplication1\index.aspx.cs(11): 类型或命名空间名称“Windows”在类或命名空间“System”中不存在(是否缺少程序集引用?)
      

  6.   

    default.htm 内容如下:<Script language="javascript">
    var w=screen.availWidth-10;
    var h=screen.availHeight-30;
    //alert("fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=" + w + ",height=" + h + ",top=0,left=0");       
    var objwin = window.open('default.aspx',"eDismain","fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=" + w + ",height=" + h + ",top=0,left=0",true);
    //objwin.focus();
    </script>
    <html>
    <head>
    <title>e-Solution</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head>
    <body bgcolor="#FFFFFF">


    </body>

    </html>你可以试试,不过不知道为什么在本地调试好用,放到server上,不好用?
      

  7.   

    Form的FormBorderStyle属性改成none就可以了,就这么简单,去试试吧