【发布时间】:2012-04-23 11:10:03
【问题描述】:
当我点击这个链接时:
Ajax.ActionLink("获取客户","GetCustomers","Customer");
我的网址栏仍然显示:www.mysite.com 而不是 ww.mysite.com/Customer/GetCustomers
我怎样才能改变它?
【问题讨论】:
-
你可以使用片段来跟踪ajax历史,比如tabs,这也解决了用ajax返回btn
标签: asp.net ajax asp.net-mvc url-routing