This is a migrated thread and some comments may be shown as answers.

Drag Drop last position indicator missing

3 Answers 92 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 08 Aug 2013, 05:45 PM
Hello,
We've recently converted our "Listbox to Listbox" drag drop feature from the obsolete RadDragDropManager to the newer method of using a CustomListBoxDragDropBehavior on the Listbox. So far everything is great (much less code to maintain for the same effect) with one exception. Our customers are complaining of a missing index indicator for the last position of the Listbox, as evidenced on your demo site: http://demos.telerik.com/silverlight/#ListBox/DragDrop
The first index and all non-last indexes are indicated correctly with a blue line, but missing on the last index. 

The previous method in RadDragDropManager had this feature working, the user could easily tell that the dragged item was going into the last (lowest) position of a Listbox, This is no longer so. Our Listboxes are very tight with little padding (for real estate concerns) which makes it almost impossible to allow a user to place an item on the last index. Currently they have to use use a rather odd click path of dragging the item intended to be the last index to the last index minus 1, and then drag the last one up. It's very frustrating for them in the multiple parts of our product that use DragDrop.

Will this be addressed in a new release?
Do you have a current workaround until this is fixed?

Thank you,
Patrick

3 Answers, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 13 Aug 2013, 02:11 PM
Hi Patrick,

We are aware of the described issue and it has already been logged in our P.I.T.S. system, you can track its status on the following link: http://www.telerik.com/support/pits.aspx#/details/Issue=15320.

The non visible line after the last item is part of the logged issue (if you are using the ListBox inside a Grid the line is not visible at all, but if the ListBox is inside a StackPanel the line is visible but appears lower than should be).
Unfortunately we cannot suggest a suitable work-around to this issue. However, the fix will be considered for the next major release.

I apologize for any inconvenience caused.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 1
answered on 14 Aug 2013, 04:28 PM
Kalin,

Thanks for the response. Please do include a fix in the next major release, we and our customers would appreciate it!
0
Patrick
Top achievements
Rank 1
answered on 04 Oct 2013, 05:19 PM
Workaround found. I'll just paste my comment from the PITS system. I believe you could fix this on the demo site by putting the ListBox in a dummy StackPanel.

PITS Comment:

We have found a workaround. It seems if you place the RadListBox inside of a dummy StackPanel by itself, and only by itself, that the drag queue seems to draw in the correct position for the last index of the ListBox.

Extra notes:

-The RadListBox immediate parent must be a StackPanel, not a border/grid/etc., otherwise it doesn't show the last index cue at all. If a border is required it seems setting the BorderThickness and BorderBrush properties on the RadListBox itself works.

-If the RadListBox is in StackPanel with other items it appears to draw the cue correctly if it's the first item in the StackPanel, if it's the second item we see the ListBoxDragCue drawing too low.

Tags
ListBox
Asked by
Patrick
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or