首页 新闻 会员 周边

asp.net mvc3 一个页面跳转中出现的问题

0
[已关闭问题] 关闭于 2013-11-10 09:09
http://localhost:31211/IWantSell/WantSell_SelectGame

从上边地址的页面跳转到下边的页面中间带有参数传递,这是我尝试的两种跳转代码:

<a> @Html.ActionLink(@item.GameName, "WantSell_SelectArea", "IWantSell", new { name = @item.GameName }, null)</a> *@
                         <a href="@Url.Action("WantSell_SelectArea", "IWantSell", new { name = @item.GameName })">@item.GameName</a>     

问题便是:地址栏里边的地址变了,却没有跳转页面,需要刷新一下才会跳转到目标页面。。。

http://localhost:31211/IWantSell/WantSell_SelectArea?name=%E9%AD%94%E5%8A%9B%E4%B8%96%E7%BA%AA
"程序猿"~在路上的主页 "程序猿"~在路上 | 初学一级 | 园豆:162
提问于:2013-09-16 17:40
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册