当前位置:编程学习 > C#/ASP.NET >>

top页面里的连接怎么转到right页面 在线等

如题     top页面里的好比有个修改密码的按钮     怎么转到right页面在显示一个页面来修改密码呢
--------------------编程问答-------------------- right.aspx?id=值
session
cookie
。。。。 --------------------编程问答-------------------- 在按钮事件里写
Response.Write("<script >window.open('right.aspx);</script>")
或者
Response.Redirect("right.aspx");
--------------------编程问答-------------------- Response.Write("<script type=text/javascript>window.location='right.aspx'</script>"); --------------------编程问答-------------------- Response.Write("<script type=text/javascript>window.href='right.aspx' target='right'</script>"); --------------------编程问答-------------------- 传用户名过去就行了,Cookie,Post都可以
修改页面让用户先输入旧密码,再输入新密码 --------------------编程问答-------------------- 点击按钮时设置 target="放right页面的iframe的id" --------------------编程问答-------------------- 你的是ifram吧

点击的时候设置一个连接跳转到ifram那个页面就行

设置target="right ID"
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,