I am implementing drag and drop operations between 2 radlistboxes based on the demo with the DragDropManager...
The implementation works fine but i run into a problem when there are more items in the list than the visible area...
specifically getting the upperbound of the visualitem
source code from demo is...
int UpperBound = visualReplacedItem.Bounds.Height * this.targetListBox.Items.IndexOf(this.replacedItem);
the problem is the second part (index of) could return a large number when a list contains 200 items causing the feedback form to draw off the visible area...
is there a visualitems index or something i can reference instead to keep the feedback form in the visible area of the RadListBox?
My feel is that even the demo would not work properly if the lists contained enough items to cause scrolling...
The implementation works fine but i run into a problem when there are more items in the list than the visible area...
specifically getting the upperbound of the visualitem
source code from demo is...
int UpperBound = visualReplacedItem.Bounds.Height * this.targetListBox.Items.IndexOf(this.replacedItem);
the problem is the second part (index of) could return a large number when a list contains 200 items causing the feedback form to draw off the visible area...
is there a visualitems index or something i can reference instead to keep the feedback form in the visible area of the RadListBox?
My feel is that even the demo would not work properly if the lists contained enough items to cause scrolling...