English 中文(简体)
• 如何使用专用的单项大数据,这些数据将来自非行
原标题:How to use infinite scroll pattern for single big data which will be fetching from DB
  • 时间:2011-07-24 17:41:23
  •  标签:
  • asp.net

我们非常容易地发现,当用户滚动时,我们就能够把下一个数据输入如下的四舍五入。

$( "body").scroll( function() { 
if (document.elementFromPoint(x,y) == $("#whatever")) { 
  $( "#myDiv").load( "test.html");
}

}

my now my scenario is different. i will show single data in page which is itself a big. when i am showing single data from my db then user has to scroll a lot because my single data cover 3-4 pages. so if user need to read whole data then he has to scroll 3-4 pages and need many scroll. so is there any way that i can show partial of a huge data in a page and when user scroll then i will load again partial data into page and in this way i can load data the way user scroll down. please looking for suggestion.

最佳回答

我建议使用像三党工具这样的工具。 DevExpress XtraGrid。

They have kind of virtual scrolling/paging, I think this is similar to what you want to have.

采用箱外部分通常可以避免制定和缩减这种(可能)复杂的任务。

缺点是,通过使用三党图书馆,你的网页一般会得到更多的“布满”(更多的科斯塔、更多的 Java本、更大)。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签