就比如我A网站跳到B网站 但是B网站本身也有跳转的 那地址还能保持A不变吗?能的话,怎么实现呢?
解决方案 »
- 我想在C#后台获取前台table的行数?
- gridview分页和GridView1_RowDataBound、e.Row.Cells[7]冲突的问题
- 关于用 iis 浏览 asp.net 的问题
- 如何让DropDownList选了后刷新还保持原来选项?
- 【100分请教从数据库中提取数据然后树状结构显示,请高手进入】
- 编译器错误消息: BC2000: 编译器初始化意外失败: 拒绝访问。
- 100分求助,希望大家能帮上忙。
- 公司要求开发一网页聊天(类似与QQ)功能只有聊天就可以,请高人指点指点一下我的思路,,
- 弱问一个网页url里面aspx变量的问题
- javascript弹出一个窗口,怎么赋值给父窗口里的web控件?
- netcms问题
- .net callback机制的几个问题,请高手来回答!
A网站跳到B网站 但是B网站又是跳到C的 要达到的效果的是保持IE始终是A的地址www.a.com 但是页面是www.b.com/inde.htm的页面 而且无论点到www.b.com哪个页,地址是哦中是www.a.com
public partial class a : System.Web.UI.Page{
protected void LinkButton1_Click(object sender, EventArgs e)
{
Server.Transfer("b.aspx");
}
}public partial class b : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Server.Transfer("c.aspx");
}
}<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>this is a
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">go b.aspx</asp:LinkButton></div>
</form>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
this is b
</div>
</form>
</body>
</html><html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
this is c
</div>
</form>
</body>
</html>
运行a.aspx 点击 go b.aspx 就会显示出 this is c 看一下吧!
地址栏没变。