Groups > Asp .Net > ASP.NET Atlas Framework discussion > Re: DragDropList




DragDropList

DragDropList
Fri, 22 Sep 2006 23:17:49 +000
a) Why is the DragDropList class sealed? Is there any particular reason?
b) Why doesn't the DragDropList class expose any events? Just being able to drag
things around is pretty useless?

There is a good thread on the subject at
http://forums.asp.net/thread/1175518.aspx. The user yortch has implemented onAdd
and onRemove events on the DragDropList
(http://yortch.blogspot.com/2006/01/customizing-atlas-dragdroplist-class.html).
To achieve that he had to copy the code from the DragDropList class (as it is
sealed). The code can also be used to detect re-ordering of items in the
DragDropList (though getting at the list of contained items is not easy).

In my view a DragDropList that is sealed and doesn't allow you to get any
information about contained items is nearly useless. Would Start.com have worked
if the users would have been forced to re-order the modules to suit their
preference on every visit?

Anyone know of a tutorial btw. for doing Start.com or PageFlakes.com style
drag-panels with Atlas?

I apologize if I'm totally missing the point of the DragDropList :)
Post Reply
Re: DragDropList
Sat, 23 Sep 2006 11:01:53 +000
Hi,

I've a little example on my blog about how to create a similar layout.
Post Reply
about | contact