ASP.net AJAX拖/放? [英] ASP.net AJAX Drag/Drop?
问题描述
我不知道是否有人知道,如果有此一pre-制的解决方案:我有一个ASP.net网站列表,我想,该用户能够在列表中通过拖动重新排序,下降。另外,我很想有第二个列表,用户可以拖动从第一个列表中的项目上。
I wonder if someone knows if there is a pre-made solution for this: I have a List on an ASP.net Website, and I want that the User is able to re-sort the list through Drag and Drop. Additionally, I would love to have a second list to which the user can drag items from the first list onto.
到目前为止,我发现了两个解决方案:
So far, I found two solutions:
- 从 Ajax控件工具包,这需要一些手工工作,使ReorderList一定变化都坚持到数据库中,并且不支持拖放/列表之间下降。
- 的<一个href="http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/DragAndDrop/DefaultCS.aspx"相对=nofollow>的RadGrid 从它的Telerik做所有我想要的,但远远售价超出了我的预算。
- The ReorderList from the Ajax Control Toolkit, which requires a bit of manual work to make sure changes are persisted into the database, and that does not support drag/drop between lists.
- The RadGrid from Telerik which does all I want, but is priced far far beyond my Budget.
没有任何人有一些想法,或至少一些关键字/指针做进一步的调查? Espectially两个列表之间的拖/放的东西我比较茫然不知如何做到这一点的ASP.net。
Does anyone else have some ideas or at least some keywords/pointers to do further investigation on? Espectially the Drag/Drop between two lists is something I am rather clueless about how to do that in ASP.net.
目标框架是3.0的方式。
Target Framework is 3.0 by the way.
推荐答案
MooTools的sortables插件做到了这一点,而最重要的是,它是免费的;)
The Mootools sortables plugin does just that, and best of all, it's free ;)
http://demos.mootools.net/Sortables
这篇关于ASP.net AJAX拖/放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!