像Facebook feeds一样在鼠标滚动时自动展开数据列表 [英] auto expand datalist on mouse scroll like facebook feeds

查看:61
本文介绍了像Facebook feeds一样在鼠标滚动时自动展开数据列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!请帮帮我.

我想像在Facebook上那样在鼠标滚动时自动在datalist控件中添加项目,以查看更新/提要...

我正在使用asp.net(Visual Studio 2010)

解决方案

我们真的不是一件容易的事.向下滚动时使用ajax从数据库获取数据.您可能想看看jQuery为您做这件事.这是一个示例: http://www.webresourcesdepot.com/load-content- while-scrolling-with-jquery/ [ ^ ],这里是一个示例演示页面: http://www.webresourcesdepot.com/dnspinger/ [ ^ ]


--Amit


hi! please help me out.

i want auto adding items in datalist control on mouse scroll like we do in facebook to see updates/feeds...

i am using asp.net(visual studio 2010)

解决方案

We''ll it''s really not an easy thing to do.. You''ll have to use ajax to get the data from the database upon scrolling down. You may want to take a look at jQuery to do this thing for you. Here''s one example: http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/[^] and here''s a sample demo page: http://www.webresourcesdepot.com/dnspinger/[^]


--Amit


这篇关于像Facebook feeds一样在鼠标滚动时自动展开数据列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆