ASP.net AJAX Drag/Drop?

后端 未结 4 1461
情深已故
情深已故 2021-01-07 11:23

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 an

相关标签:
4条回答
  • 2021-01-07 11:25

    Checkout Raj Kaimal's ajax control extender:

    http://weblogs.asp.net/rajbk/Contents/Item/Display/517

    It works like a charm.

    0 讨论(0)
  • 2021-01-07 11:38

    This is just personal opinion, but the problem I find with ready-made controls in cases like this is that they are extremely bloated, because they're trying to fit everybody's purpose. If all you need is a sortable list then a simple Scriptaculous list or jQuery list with a quick WebMethod callback should fit the bill quite nicely, and you can obviously stick this into your own user control.

    As I say, just my opinion, but I wouldn't go spending money on something that's going to add tons of overhead to my page, when I could spend (literally) 10 minutes writing one for free.

    0 讨论(0)
  • 2021-01-07 11:43

    I've evaluated the Telerik grid as well as Infragistics version. In the end we took an approach similar to what tags2k suggested. We just wrote our own javascript and called .Net PageMethods to do the server side work.

    We found both of the "out of the box" solutions to be bloated. Unless you put paging in at like 20 records per row they really stunk performance wise.

    0 讨论(0)
  • 2021-01-07 11:51

    The Mootools sortables plugin does just that, and best of all, it's free ;)

    http://demos.mootools.net/Sortables

    0 讨论(0)
提交回复
热议问题