打开一个无工具栏的窗口的问题

来源:互联网 发布:mac装完win10不能联网 编辑:程序博客网 时间:2024/05/29 18:54

在.aspx页面<head></head>中加入

  <script language="javascript">
<!--
function CreatWindow(path)
 {
window.open(path,"","toolbar=no,scrollbars=yes,width=600,height=500,resizable=no");}

//-->
  </script>

后台:

调用前台的CreateWindow

this.links.NavigateUrl="javascript:CreatWindow('../upmorefile.aspx?id="+this.txtcode.Text+"')"; 

原创粉丝点击