刷新父窗口
View Code
1 /// <summary>
2 /// 刷新父窗口
3 /// </summary>
4 public static void RefreshParent(string url)
5 {
6 #region
7 string js = @"<Script language='JavaScript'>
8 window.opener.location.href='" + url + "';window.close();</Script>";
9 HttpContext.Current.Response.Write(js);
10 #endregion
11 }