如何拖动ASP.net /下降的建议 [英] advice on how to drag / drop in ASP.net
问题描述
好了,所以我希望有一个简单的单一的网页,可以采取一个小个子,并拖动他一个公平的竞争环境(只是形liek一个足球场的背景),然后单击保存按钮,并将它保存的坐标。但我需要更多一点的人添加到播放领域的能力。
Okay so I want a simple SINGLE web page that can take a little man, and drag him to a playing field (just a background shaped liek a soccer field) , then click a "save" button and it saves the coordinates. BUT I need the ability to add more little men to the play field.
我会怎么做呢?我一直在寻找JQuery的投掷的控制/ ASP.NEt组合,但我没有看到有人所有的坐标保存到数据库中的一个例子。
How would I do this? I was looking at the JQuery Droppable control / ASP.NEt combo, but I Don't see an example of someone saving all the coordinates to a database.
任何提示或建议将AP preciated。
Any tips or advice would be appreciated.
推荐答案
有许多可能的方法。我使用Telerik的库为ASP。
There are many possible method. I use the library Telerik for asp.
-
Telerik的(支付) -
<一href=\"http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx\" rel=\"nofollow\">http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx
阿贾克斯dragAndDrop通过reorderlist -
<一href=\"http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/reorderlist/drag-and-drop-via-reorderlist-cs\" rel=\"nofollow\">http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/reorderlist/drag-and-drop-via-reorderlist-cs
DragAndDrop用asp.net - http://msdn.microsoft.com/en-us/magazine/cc135985.aspx
DragAndDrop与HTML 5 - http://www.developer.com/lang/using-html5-drag-and-drop-in-asp.net.html
所有这些链接模式拖放技术ASP
All these links are models "Drag And Drop" technology for asp
这篇关于如何拖动ASP.net /下降的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!