JS实现页面跳转

框架中,处理完后,要刷新左页面,同时本页面也要跳转到另一个页面。刷新用
<body onload="parent.leftFrame.location.reload();">

或者在页面的最后:
<script>
//leftFrame指左边框架的名字
parent.leftFrame.location.reload();
</script>

接着的跳转就不能用服务器的语句了,必须用客户端的语句
    Session["Loged"]=Textbox9.Text;
    JScript.Alert("登录成功!");
    CentnMap.Common.JScript.refreshleft();
    CentnMap.Common.JScript.JavaScriptLocationHref("xy.aspx");
原文地址:https://www.cnblogs.com/jetz/p/371815.html