且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在关闭子窗口上重新启动asp.net父窗口标签

更新时间:2022-11-06 16:25:14

您好,请查看以下链接



http://www.aspsnippets。 com / Articles / Refresh-Parent-window-from-Child-window-on-close-using-JavaScript.aspx [ ^ ]

http://www.etechpulse.com/2012/11/how-to-refresh -parent-window-when-child.html [ ^ ]

http://www.aspdotnet-suresh.com/2012/11/javascript-refresh-parent-window-when.html [ ^ ]
Hi check the below links

http://www.aspsnippets.com/Articles/Refresh-Parent-window-from-Child-window-on-close-using-JavaScript.aspx[^]
http://www.etechpulse.com/2012/11/how-to-refresh-parent-window-when-child.html[^]
http://www.aspdotnet-suresh.com/2012/11/javascript-refresh-parent-window-when.html[^]


这将重新加载通过选择下拉项目而不实际重新创建回发的页面内容。

This will reload the content of the page without actually recreating the postback fired by selecting the dropdown item.
<script>
        window.onunload = refreshParent;
        function refreshParent() {
            var loc = window.opener.location;
            window.opener.location = loc;
        }
    </script>


嗨看看这篇文章



http://www.dotnetpools.com/2013/11/how-to- refresh-aspnet-parent-window.html [ ^ ]
hi have a look of this article

http://www.dotnetpools.com/2013/11/how-to-refresh-aspnet-parent-window.html[^]