ListBox DragDrop in Panel

Thread is closed for posting
2 posts, 0 answers
  1. Gourangi
    Gourangi avatar
    83 posts
    Member since:
    Mar 2008

    Posted 17 Feb 2009 Link to this post


    I have added few items in my listbox, and there is one panel which allow drop property is true.

    I have handled MouseDown event of listbox and checked if any item is selected if yes then I am calling DoDragDrop() method and passed approprite data. And my panel accepts those data.

    Now I think as I have handled mousedown event of listbox, I cannot select another Item (the item that is already selected cannot be changed) !

    I think I should not handle MouseDown event, is there any alternative !
    Or there must have ItemDrag event, just like we have in System.Windows.Forms.ListView !

    Divyesh Chapaneri
  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 23 Feb 2009 Link to this post

    Hello Divyesh Chapaneri,

    Thank you for the question.

    I was not able to reproduce the described issue with my drag and drop implementation. I am attaching a sample project which demonstrates it. You can use this implementation as a base for your scenario. If you, however, want to use your own approach please open a new support ticket and send me your project. This will allow me to assist you further.

    If you have additional questions, feel free to contact me.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top