Drag drop a non GoDiagram Object on a GoDiagram

I have some data in a GridView (DevEx). I want to drag an object (possibly string) from there on a CollapsingRecordNode and then drop that data to be added as a NodeItem. What I have as code is below:

    // MouseDown event for the GridView

    private void gridView_MouseDown(object sender, MouseEventArgs e)
        GridView view = sender as GridView;
        downHitInfo = null;
        GridHitInfo hitInfo = view.CalcHitInfo(new Point(e.X, e.Y));
        if (Control.ModifierKeys != Keys.None) return;
        if (e.Button == MouseButtons.Left && hitInfo.RowHandle >= 0)
            downHitInfo = hitInfo;
            goViewWrkBnch.DoDragDrop("MY DATA OBJ", DragDropEffects.Copy)



    // GoView's DragEnter Event

    private void goView_DragEnter(object sender, DragEventArgs e)
        if (e.Data.GetDataPresent(DataFormats.Text))
            e.Effect = DragDropEffects.Copy;
            e.Effect = DragDropEffects.None;

    // GoView's DragDropEvent

    private void goView_DragDrop(object sender, DragEventArgs e)

<span =“apple-tab-span”="" style=“white-space:pre”>
downHitInfo = null;

// Do something Here to process the drop

I also try to use The CollapsibleRecordNode’s “OnSelectionDropped” method (which seems like the best way) but even if I send a NodeItem from the MouseDown event of the GridView, the “OnSelectionDropped” is still not fired. All I need to do is event that is fired when an (string) object from the GridView is dropped on it (and also has a reference to the dropped object). Any ideas about how I can achieve this ?

Look at what the Flowgrammer samples does in ChartView. It supports D&D from a TreeView, and
does that with overrides of GetExternalDragImage, DoExternalDrag and DoExternalDrop.

DoExternalDrag is just for highlighting, you may not need that. Get rid of your goView_DragEnter.

Thanks so much Jake!