Chapter 12. Dragging and dropping

In this chapter:

  • The drag-and-drop engine
  • The IDragSource and IDropTarget interfaces
  • Building a client-centric drag-and-drop shopping cart
  • Building an ASP.NET server-centric drag-and-drop shopping cart

How many times a day do you move files from one folder to another, between windows, or even directly into the recycle bin, using only your mouse and one of your fingers? Every time you perform these actions, you complete a drag-and-drop operation, which is the visual representation of a set of commands. For example, if you move (or drag) a file icon from your desktop and release (drop) it over the recycle-bin icon, you’re visually “throwing away” the file and marking it for deletion (but remember to restore it ...

Get ASP.NET AJAX in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.