aspx页面弹出窗口代码大全_[Asp.Net教程]
//关闭,父窗口弹出对话框,子窗口直接关闭 
this.Response.Write(""); 
//关闭,父窗口和子窗口都不弹出对话框,直接关闭 
this.Response.Write(""); 
//弹出窗口刷新当前页面width=200 height=200菜单。菜单栏,工具条,地址栏,状态栏全没有 
this.Response.Write(""); 
//弹出窗口刷新当前页面 
this.Response.Write(""); 
this.Response.Write(""); 
//弹出提示窗口跳到webform2.aspx页(在一个IE窗口中) 
this.Response.Write("  "); 
//关闭当前子窗口,刷新父窗口 
this.Response.Write(""); 
this.Response.Write(""); 
//子窗口刷新父窗口 
this.Response.Write(""); 
this.Response.Write(""); 
//弹出提示窗口.确定后弹出子窗口(WebForm2.aspx) 
this.Response.Write(""); 
//弹出提示窗口,确定后,刷新父窗口 
this.Response.Write(""); 
//弹出相同的一页 
 
// 
Response.Write("parent.mainFrameBottom.location.href=’yourwebform.aspx?temp=" +str+"’;"); 
    
  参数解释: 
   
  
 js脚本结束