Drag Drop last position indicator missing

4 posts, 1 answers
  1. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 08 Aug 2013 Link to this post

    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,
  2. Answer
    Kalin avatar
    1190 posts

    Posted 13 Aug 2013 Link to this post

    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.

    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 >>
  3. DevCraft R3 2016 release webinar banner
  4. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 14 Aug 2013 Link to this post


    Thanks for the response. Please do include a fix in the next major release, we and our customers would appreciate it!
  5. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 04 Oct 2013 Link to this post

    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.

Back to Top