首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

关闭窗体,该如何解决

2012-01-16 
关闭窗体在主页面中functionshow(){varbRefwindow.showModalDialog( page.aspx ,, dialogHeight:490pxdi

关闭窗体
在主页面中
function   show()
{
var   bRef=window.showModalDialog( 'page.aspx ', ' ', 'dialogHeight:490px;dialogWidth:510px;help:no;toolbar:no;status:no; ');
}
<A   onclick= "show() "   style= "CURSOR:   hand "     target= "Right "> 班次设置 </A>
在模式窗口中的后台程序中
                this.Page.RegisterClientScriptBlock( "关闭窗 ", " <script> window.close() </script> ");
关闭不了模式窗口```````
        出现错误是什么原因啊``




[解决办法]
// page.aspx

<head>
<title> ...
<base target= "_self "> </base>

热点排行