Skip to Content
Former Member
Jan 24, 2011 at 09:04 AM

Drag and Drop: Property "data" in DragSourceInfo: What data types?


Hello Experts,

I am implementing an application with advanced usage of the drag and drop functionality.

The DragSourceInfo Element has the "data" property. One can bind a context attribute to this.

I have tried to bind a structure to it, since I NEED to pass more information than just a string (I need to pass the Id of the currently selected Object plus information about from where the element is being drag and dropped).

However, I am getting a short dump when using a structure as data type for "data".

Does anybody know what type are allowed, if there is a way to use a structure, if there is a way to provide more information to the onDrop event than just a string??

THANKS, Johannes