Drag and drop (like webparts)?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm interested in how the drag and drop works in 2.0 webparts (specifically
showing the dragged object as transparent so the user knows what is being
dragged).

Specifically, I'd like to drag an item from one listbox to another listbox
or drag an html element to allow a user to re-order a list? Or is this
specific webparts and .NET 2.0?

Thanks
 
You can recreate the functionality using javascript and handling the various
mouse events. The basic concept can be secured by looking at the windows
drag implementation. This will give you a good idea on how to proceed.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 
Back
Top