在父页用 window.open 打开子页面, 想在子页面的.CS 文件里,写刷新父页面的代码,要如何写?
 父页面上打开   child.aspx   ,然后,   
 在child.aspx.CS   中的   Button1_Click   事件中:     
 private   void   Button1_Click() 
 {   
 Response.Write( " <script> window.alert( '此信息彻底删除! ');window.opener=null;window.close(); </script>  ");     
 //我想在这里写上刷新父页面的代码,要如何写呢   
 }     
 在关闭窗口的时候,我想刷新一下父页面,要如何写?   
------解决方案-------------------- <script>     
   window.opener.location.reload();  
    </script>
------解决方案--------------------window.opener.location.href = window.opener.location.href
------解决方案--------------------private void Button1_Click() 
 {   
 Response.Write( " <script> window.alert( '此信息彻底删除! ');window.opener.location.replace(window.opener.location);window.close(); </script>  ");     
 }