You asked specifically about dragging and dropping. This is possible with Internet Explorer and JavaScript. Note: these events and methods are part of the IE DOM, they are not server-side ASP.NET.
The relevant event handlers:
ondragstart
This is the "starting event" for dragging. It initiates the drag, and it's also where you provide a "value" to move to the drag target.
ondrag
Fires the entire time you're dragging.
ondragenter, ondragover, ondragleave
You can basically know 1) They entered the target, 2) they are hovering around on the target and 3) they left the target without dropping.
ondragend
When the user drops the object, regardless of whether it is dropped on the drop target or not. Fires on the dragged object.
ondrop
Fires when the object is dropped on the drop target. When this happens, the ondrop event fires before the ondragend event.
To transfer data, there are two methods:
setData() and getData()
You should be able to figure out the rest. When the dragging starts, you setData. When it drops, you getData.
Again, this is only for IE!
Thomas D. Greer
http://www.tgreer.com
My standard plug: if this post helped, please support the site by clicking ads. My personal site is also advertiser supported. Click Ads!
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
Did this work for you? Do you need anymore help? Give us some feedback.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37