/ 功能描述:替换当前窗体的打开窗口的父窗口 /// </summary> /// <param name="openerWindowUrl">当前窗体的打开窗口的父窗口</param> public static void ReplaceOpenerParentWindow(string openerParentWindowUrl) { string js=@"<Script language='JavaScript'> window.opener.parent.location.replace('"+openerParentWindowUrl+"');</Script>"; HttpContext.Current.Response.Write(js); }
/// <summary> /// 函数名:CloseParentWindow /// 功能描述:关闭窗口 /// </summary> public static void CloseParentWindow() { string js=@"<Script language='JavaScript'> &nbs << 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] ... 下一页 >> |