你可以把
this.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('操作成功');", true);
改成:
this.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('操作成功');window.location.href='other.aspx'", true);
this.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('操作成功');", true);
改成:
this.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('操作成功');window.location.href='other.aspx'", true);
解决方案 »
- datalist显示格式问题
- girdview编辑列问题!!!在线等结贴
- CS0165: 使用了未赋值的局部变量“FileSize”
- 请来帮忙把这段代码写成C#版的呢?
- 急求 .net 怎么比较两个时间差?
- 几个小问题
- 高分求《c#线程参考手册》清华大学出版社 isbn:7-302-07403-8 的源码,立即给分
- datagrid数据显示问题
- 急:想点击一个textbox弹出一个子窗口(对话框)来进行地域的选择(要分层),怎么办?
- 救命啊!!小女子快要不行了!!如何实现树形并可以在上面右击显示菜单
- ASP.NET中Response.Write怎么在指定的单元格里输入文本??
- 如何嵌套在别人的网站里。来增加流量。急,急,急
this.ClientScript.RegisterStartupScript(this.GetType(), "", "<script language=" + "javascript" + ">alert('操作成功'');location.href='other.aspx'</script>");
Response.Write("<script>alert('操作成功'); location.href='other.aspx'; </script>");