禁用 AjaxControlToolkit 中两个不同 ReorderList 之间的拖放
我在一个页面上有几个重新排序列表。
每个列表都通过回发添加了项目,这会更新列表。 PostBackOnReorder 为 true,并且我们在 OnItemReorder 上连接了一个事件处理程序。
问题在于,拖放似乎允许将一个项目从一个列表拖到另一个列表(这是我们不想要的),并且当它被放下时,该项目会消失,直到另一个项目被添加到列表中。
有什么方法可以禁止将项目放入另一个列表中吗?
I have several ReorderLists on a page.
Each list has items added to it via a postback, which updates the list.
PostBackOnReorder is true, and we have an event handler hooked up on OnItemReorder.
The problem is that the drag and drop seems to allow for an item to be dragged from one list to another (which is something we do not want), and when it is dropped, the item disappears until another one is added to the list.
Is there any way to disable dropping an item into another list?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我从一些调试来看,这是控件本身的问题。
我已修补源以使用 ClientID 而不是 ID 来区分两个不同的列表,并在此处
As far as I could tell from some debugging, this is a problem with the control itself.
I've patched the source to use ClientID instead of ID to differenciate between two different lists and created a bug report here