弹出提示,跳转页面

ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "", "alert('操作成功!');window.location=XXX.aspx';", true);

web.config中配置

<customErrors mode="On" defaultRedirect="Error.aspx"/>

posted @ 2011-12-06 16:23  Jack.G  阅读(265)  评论(0编辑  收藏  举报