日期:2014-05-17  浏览次数:20353 次

代码求解
  <a href="Layout.aspx?layoutChild.aspx"  style="color: white;font-size: 15px; ">交易专区</a>

上面的"href="Layout.aspx?layoutChild.aspx "是什么意思,第一次看到这种写法。。求解!
运行的效果是会跳转到一个页面,是由Layout.aspx和layoutChild.aspx两个页面组成的。调试时会先执行Layout.aspx再执行layoutChild.aspx。 

------解决方案--------------------
这种还是执行Layout.aspx页面,?后面是参数,并非执行访问的页面。
------解决方案--------------------
引用:
这种还是执行Layout.aspx页面,?后面是参数,并非执行访问的页面。

+1
我也同意这位兄台的意见,后台判断下请求的参数,有这个做什么,没有又该执行什么代码
------解决方案--------------------
只跳转第一个页面 第二个不会跳 会当作参数
------解决方案--------------------
引用:
<a href="Layout.aspx?layoutChild.aspx"  style="color: white;font-size: 15px; ">交易专区</a>

上面的"href="Layout.aspx?layoutChild.aspx "是什么意思,第一次看到这种写法。。求解!
运行的效果是会跳转到一个页面,是由Layout.aspx和lay……


写错了估计是
------解决方案--------------------
引用:
引用:<a href="Layout.aspx?layoutChild.aspx"  style="color: white;font-size: 15px; ">交易专区</a>

上面的"href="Layout.aspx?layoutChild.aspx "是什么意思,第一次看到这种写法。。求解!
运行的效果是会跳转到一个页面,……


楼上正解