父窗体刷新子窗体

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AutoRefresh.aspx.cs" Inherits="AutoRefresh" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    
<title></title>
    
<script   language= "javascript " type="text/javascript">
        function aa() {
            window.location.href 
= window.location.href;
            window.open(
'http://sz.58.com/danbaobaoxiantouzi/5615743316226x.shtml''ch');
            ch.location.reload();
            setTimeout(
'aa()'20000);
        }
        
    
</script> 
</head>
<body onload="aa()">
    
<form id="form1" runat="server">
    
<div>
    
    
</div>
    
</form>
</body>
</html>
原文地址:https://www.cnblogs.com/ringwang/p/2031620.html