日期:2014-05-18 浏览次数:20585 次
/// <summary> /// 无消息提示(跳转页面) /// </summary> /// <param name="page">页面</param> /// <param name="jumpNum">跳转参数</param> public void ShowPage(string page, int jumpNum) { string script = ""; if (jumpNum == 0) script = "<script>setTimeout(function(){ window.location.href='" + page + "';},1000)</script>"; else script = "<script>setTimeout(function(){ parent.window.location='" + page + "';parent.closeEditor();},1000)</script>"; this.Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), script); }
------解决方案--------------------
Response.Redirect(Request.Url.ToString());
参考http://tech.ddvip.com/2010-07/1279683335157827.html
------解决方案--------------------