showModelessDialog模式下,如果控制父窗口 window.showModelessDialog(url, )打开的子窗口,如何在关闭子窗口的同时刷新父窗口 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可在父窗体中部置一个按钮(比如一个LinkButton,text不设,这样就不可见了),在打开模式窗口的过程增加一段click这个按钮的脚本,这个按钮的click事件中是刷新数据的程序 子:<script> function Close() { var win = window.dialogArguments; win.location.href = win.location.href; window.close(); }</script>父:window.showModelessDialog("aaa.aspx",window); 在window.beforeunload事件中加上window.opener.location.reload() 刷新function fresh(){window.location.href = window.location.href} asp.net中如何配置web.config文件链接SQL数据库 有关SubSonic的使用 datagrid问题! C#中的 Split问题 简单的程序问题,请各位GG,MM帮忙 .net mvc3中数据不一致问题 asp.net文件打不开,why? 怎样才能在ASP.net的Server端,打开一个窗体? 在子定义空件中,如何定义服务器控件的颜色? asp的高手请进 form论证能不能让保存的COOKIE记录更多? 新人。。谁能帮我解释下面的两个小函数
function Close()
{
var win = window.dialogArguments;
win.location.href = win.location.href;
window.close();
}
</script>父:window.showModelessDialog("aaa.aspx",window);
window.opener.location.reload()
function fresh()
{
window.location.href = window.location.href
}