C# 返回父页面

来源:互联网 发布:火车头采集器数据导出 编辑:程序博客网 时间:2024/04/30 21:01

1.返回父页面

Page.ClientScript.RegisterStartupScript(this.GetType(), "back", "parent.location.href='RoAnnualInspect_List.aspx';", true);

2.本页面跳转到其它页面

Page.ClientScript.RegisterStartupScript(this.GetType(), "back", "window.location.href='RoAnnualInspect_List.aspx';", true);

3.返回前一个页面js

history.go(-1);



0 0
原创粉丝点击