如何让一个弹出页面引起其父页面的刷新?

/// <summary>
        /// 关闭当前窗口并刷新父窗口
        /// </summary>
        public static void CloseWindow()
        {
            string js=@"<Script language='JavaScript'>
                    window.close();
    window.opener.location.href="http://www.blog.com.cn/window.opener.location.href";  _fcksavedurl=""http://www.blog.com.cn/window.opener.location.href"; "
                  </Script>";
            HttpContext.Current.Response.Write(js);    
            HttpContext.Current.Response.End(); 
        }
把以上函数在你的Button事件里调用就可以啦
当单击Button的时候就会调用这段脚本!!! 
posted @ 2006-12-26 10:44  attitudedecidesall  Views(157)  Comments(0Edit  收藏  举报