哈哈,这是HTML的问题,我想于C#没有多大关系把
window.open("Sample.htm",null,
    "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");

解决方案 »

  1.   

    使用javascript的Window.open函数。
      

  2.   

    在javascript中如何写啊,我不会javascript,请大家给一个示例!!!
      

  3.   

    window.open('opener1.html','window1','width=300,height=300,sizable=flase,status=false,menu=false')
      

  4.   

    window.open('opener1.html','window1','width=300,height=300,sizable=true,status=false,menubar=false')
      

  5.   

    在.aspx.cs的代码中添加:
    Response.Write("<script language='JavaScript'>window.open('popwin.aspx','','scrollbars=yes,height=290,width=330');</script>");弹出的窗口允许有滚动条,没有菜单栏、没有工具栏、没有地址栏,你可以设置height和width改变大小。
      

  6.   

    <asp:label id="lblCount" onclick="javascript:win=window.open('temp.aspx?mode=edit',null,'height=450,width=630,status=yes,resizable=yes,toolbar=no,menubar=no,scrollbars=yes ,location=no');" runat="server"></asp:label>http://www.csdn.net/Develop/read_article.asp?id=15113