如何在ASP .Net MVC4中实现无限滚动 [英] How to implement Infinite Scrolling in ASP .Net MVC4
本文介绍了如何在ASP .Net MVC4中实现无限滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在由ASP .Net MVC4开发的电子商务网站中,我希望在一个页面中显示我的所有1000个产品,并带有无限滚动选项(比如Facebook,Twitter)。
我是一个新鲜的,我不知道jquery的东西..请指导我在我的'所有产品'页面中实现这个...
谢谢,
Hi,
In a e-commerce site which was developed by ASP .Net MVC4, I want to display all my 1000 products in a single page with infinite scrolling option(like Facebook, twitter).
I am a fresher, i don't know the jquery stuff..Please guide me to implement this in my 'All Products' page...
Thanks,
推荐答案
您可以查看这篇CP文章。
ASP.NET MVC Ajax Infinite Scroll [< a href =http://www.codeproject.com/Tips/677599/ASP-NET-MVC-Ajax-Infinite-Scrolltarget =_ blanktitle =New Window> ^ ]
希望它能满足您的需求..
You can check this CP article.
ASP.NET MVC Ajax Infinite Scroll[^]
Hope it will serve your need..
在上面的文章中,他们使用了xml但在我的应用程序中我们使用的是SQL Server。我对编码感到困惑。还有其他建议......
In the above article they used xml but in my application we are using SQL Server. I am confusing with the coding..Any other suggestions please...
这篇关于如何在ASP .Net MVC4中实现无限滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文