本文介绍了ASP.NET MVC 2重载页面无刷新并保持URL变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用ASP.NET MVC的项目。我想说明的占位符页面内容而无需刷新页面,如AJAX的东西,但与URL变化,我怎样才能做到这一点?

I am creating a project using ASP.NET MVC. I want to show content of pages in the placeholder without refreshing the page, something like ajax but WITH the URL changing, How can I accomplish this ?

感谢您的答复。

推荐答案

我已经使用了jQuery插件BBQ(http://benalman.com/projects/jquery-bbq-plugin/)大获成功。这和jQuery的模板引擎将是巨大的您正在试图完成。

I've used the jQuery BBQ plugin (http://benalman.com/projects/jquery-bbq-plugin/) with great success. This and the jQuery Templating engine would be great for what you are trying to accomplish.

这篇关于ASP.NET MVC 2重载页面无刷新并保持URL变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 15:56