We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DragNDrop from Grid with Custom UserControls

I have a GridRepeaterControl (from your grid samples ) displaying 4 columns abreast (instead of a column as in your sample) a custom usercontrol that has an picturebox and 3 textboxes. The data for the picture box and the textboxes comes from a DataRowView. I need to drag selected images (ideally more than one should be allowed) to your TreeViewAdv and drop them in suitable nodes. All I need to take from the Grid is the ID of the selected Images and on drop update the DataBase with these ID''s I have looked at the example of drag and drop in the FAQ for the grid but I do not seem to be able to even get started with the mouse showing a drag. Can you give me at least a general Idea on how to go about this ?

1 Reply

LG Luis Guerra June 2, 2004 03:12 AM UTC

Already figured out how to do it. It seemed daunting but turned out to be simple after looking at the samples and thinking a little more. thanks

Live Chat Icon For mobile
Up arrow icon