I am using the OnReordered event of a listbox to obtain the item index and the item value of an item being dragged and dropped. The item index does correctly represent the place in the list that I dropped an item. If I drag and drop within the same list, everything works as expected. My issue is that when I drag and drop from another listbox, the item
value reflected is not the value of the item being dropped, but the value of the last item in the listbox. Is this a bug or is this designed this way? Any ideas for a workaround? Thanks!
Protected
Sub
listAssigned_Reordered(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.RadListBoxEventArgs)
Handles
listAssigned.Reordered
For
Each
item
In
e.Items
OrderNode(item.Value, item.Index)
Next
End
Sub