比如进入login.aspx
就不显示工具栏,菜单栏,地址栏,
login.aspx怎么设置??

解决方案 »

  1.   

    使用javascript控制。
    windows.open
      

  2.   

    用javascript
    window.open("/LearnRecord.aspx","學習記錄","height=290,width=611,status=no,resizable=no,scrollbars=yes,top=0,left=0");
      

  3.   

    window.open 我想可能被3721等东东给屏了
      

  4.   

    3721没那么招恨吧?你自已写下试试,测试时打开3721上网助手的栏截,3721应该不是通过判断window.open来判定弹出窗口的吧?
      

  5.   

    是不是分太少啊,你们不愿意说啊,
    如果要用正常的跳转如。server.transeform 和 response.redirect 到 login.aspx
    然后在到login.aspx设置,不要工具栏和菜单,地址栏难道没有方法办到吗????????????
      

  6.   

    Page.RegisterClientScriptBlock("check", "<script>window.open('ContractToPrint.aspx?ContractID="+this.txt_ContractID.Text+"', 'newwindow', 'height=600, width=800, top=0,left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no,status=no');</script>");
    这样试试
      

  7.   

    string tt="newWindow = window.open('"+Request.ApplicationPath+"/index.aspx"+"'"
    +",'','toolbar=no,menubar=no,titlebar=yes,directories=no,resizable=yes,status=yes,fullscreen=no,top=0;left=0,width=900,height=700');";
    Response.Write("<script language=javascript>");
    Response.Write(tt);
    Response.Write("newWindow.moveTo(0,0);");
    Response.Write("newWindow.resizeTo(screen.availWidth,screen.availHeight);");
    Response.Write("window.opener=null;");
    Response.Write("window.close();");
    Response.Write("</script>");