1.Page.ClientScript.RegisterStartupScript(this.GetType(), "red", "parent.window.frames['框架名'].location.href='PwsbYbpwqyJbxx.aspx';", true);
2.Response.Write("<script>parent.window.open('PwsbYbpwqyJbxx.aspx','框架名')</script>");
window.top.location.href="";跳出框架打开页面
<script language=\"javascript\">alert('登录已失效或没有登录,请登录!');window.top.location.href='login.php';</script>