Drag and drop (like webparts)?

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
 
A

Alvin Bruney [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,068
Latest member
MakersCBDIngredients

Latest Threads

Top