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

Using the MouseEnter Event

2 Answers 67 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Tim Lushbough
Top achievements
Rank 1
Tim Lushbough asked on 09 Jun 2010, 08:52 PM
Hello all,

I'm trying to use the drag and drop control to help our employees drag and drop sections of our product into shipping crates to determine how the product will be shipped, and I've ran into a problem.

I need to allow the user to put the sections of the products into specific spots.  Right now when you drop items into the destination control it puts them in the back of the list every time.  Here's an example of what I need the control to do.

Section Pool

1

2

3

I'll drag 1 and 3 over first and have this:

Section Pool                                    Sections in shipping crates
2                                                        1   3

I need to be able to put the 2 between the 1 and 3.

Here's what I'm trying to do now:

Section Pool                                    Sections in shipping crates
2                                                        | 1 | | 3 |
a
Where the bars are borders, I want the mouse enter event to fire when the user drags the 2 over one of the bars, but I can't make the mouseEnter event fire, because I assume the RadDragQuery and RadDropQuery event methods are not allowing me to.  Does anybody know of a way I can remedy this?

Thanks,
Aaron

2 Answers, 1 is accepted

Sort by
0
Tim Lushbough
Top achievements
Rank 1
answered on 09 Jun 2010, 10:56 PM

P.S. Actually, I'm pretty sure that if the code that's attached to this forum item

http://www.telerik.com/community/forums/silverlight/drag-and-drop/how-can-i-develop-a-re-orderable-listbox-using-telerik-s-drag-n-drop.aspx

is rewritten a little bit to use the new version of the drag drop stuff it could solve my problem.  Is there an updated version of this code anywhere?
0
Tina Stancheva
Telerik team
answered on 15 Jun 2010, 02:14 PM
Hello Tim Lushbough,

Please accept my apology for the delayed response.

I am not sure as to what do you need to be updated in the referenced project but I am attaching the project in VS2010 with the 2010.1.603.1040 version of our controls.

Take  a look at it and let me know if your scenario have further requirements that need to be applied in the example.

Kind regards,
Tina Stancheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
DragAndDrop
Asked by
Tim Lushbough
Top achievements
Rank 1
Answers by
Tim Lushbough
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or