window.open ('index.aspx ',null , 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0,height=600,width=800')

解决方案 »

  1.   

    window.open ('your.aspx ',null , 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=0,left=0,height=600,width=800')
      

  2.   

    这个是JS吧,我想知道用C#该如何实现。
      

  3.   

    用javascript
    <script>
    window.open(top.location,"big","scrollbars=no,fullscreen=no,toolbar=no,status=no,menubar=no");}
    </script>如果在asp.net中用,
    用Response.Write("....."); 把上面的句子输出。
      

  4.   

    response.write("<script>window.open("pop.aspx","newwin","scrollbars=no,fullscreen=no,toolbar=no,status=no,menubar=no");</script>");
      

  5.   

    <HTML>
    <HEAD>
    <title></title>
    <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
    <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    </HEAD>
    <script language=js>
    window.open (top.location,"big","scrollbars=no,fullscreen=no,toolbar=no,status=no,menubar=no");
    </script>
    <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <asp:Label id="Message" style="Z-INDEX: 101; LEFT: 34px; POSITION: absolute; TOP: 46px" runat="server"></asp:Label>
    <asp:Button id="ErrorButton" style="Z-INDEX: 102; LEFT: 268px; POSITION: absolute; TOP: 41px" runat="server" Text="Generate Error"></asp:Button>
    </form>
    </body>
    </HTML>这个语句怎么没效果?