Listbox: last position index is 0

3 posts, 1 answers
  1. Kevin
    Kevin avatar
    6 posts
    Member since:
    Oct 2014

    Posted 27 Oct 2014 Link to this post

    Hello,

    I have a RadListBox with 10 items in it, when I drag and drop them to re-order everything is working correctly except when I drop in the very last position.

    I expect to get position 10 from DragDropState state.InsertIndex, however, I get position 0 and my item will get added to the top of the list.

    Thank,

    Kevin
  2. Kevin
    Kevin avatar
    6 posts
    Member since:
    Oct 2014

    Posted 27 Oct 2014 in reply to Kevin Link to this post

    Here is a little further information, this is only the case with
    <telerik:RadListBox.DragVisualProvider>
    <telerik:ListBoxDragVisualProvider />
    </telerik:RadListBox.DragVisualProvider>

    Enabled.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 29 Oct 2014 Link to this post

    Hi Kevin,

    We have managed to reproduce the issue on our side and we're currently investigating it. The fix should be available in one of our next internal builds. Until then we recommend you to use one of the other DragVisualProviders. 

    We are sorry for the caused inconvenience and we've updated your Telerik for your involvement.

    Regards,
    Nasko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top