想要在一個按鈕下實現象html里的window.open('index.asp?sign=','','height=170,width=226,top=200,left=100')一樣的功能
在c#里則麼實現

解决方案 »

  1.   

    c#本身没有这个功能,可以用客户端的alert,confirm.
      

  2.   

    C#是后台语言。他的功能 不可能有客户端的,你只有用JS才能,因为他是客户端语言。
      

  3.   

    Response.Write("<script language='javascript'>window.open('', '', 'height=240, width=350, top=450,left=2, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=no')</script>");