一个框架操作,例如下拉菜单的选择,触发另一框架页面的跳转,核心语句为
Response.Write("<script>parent.main.document.location='zzt.aspx'</script>");
其中,parent获得父级页面,main为父级页面任意一个框架的名称(name),zzt.aspx为要跳转的路径。
另外本框架的跳转可用Response.Redirect("main1.aspx");
全局的跳转可用
Response.Write("<script>parent.document.location.href='login.apsx';</script>");