If Not Page.IsPostBack() Then
   LiteralOpen.Text = ""
End SubLiteralOpen.Text = "<Script>window.showModalDialog(""\AddLink.aspx"","""", "" dialogHeight = 30;dialogWidth = 40; "")</Script>"

解决方案 »

  1.   

    请问LiteralOpen是什么,请问C#中应如何写
      

  2.   

    一般都是用open打开新页面时才能去掉
    你可以设一个起始页,再onload里open新页面,同时close自己
      

  3.   

    vb.net中
    Response.Write("<script>window.open('MainStart.aspx',null,'left=272,top=172,height=256,width=256,status=no,toolbar=no,menubar=no,help=no,titlebar=no,location=no')</script>")
                Response.Write("<script language=javascript>window.opener=null;window.close();</script>")
    自己改写成c#不是很麻烦啦