Home Forums WinForms controls Xceed Grid for WinForms Drag/drop events in custom CellViewerManager and CellEditorManager Reply To: Drag/drop events in custom CellViewerManager and CellEditorManager

User (Old forums)
Post count: 23064

I tried this, no luck. I tried subscribing to ActivatingControl both where the CellEditorManager is set and in the constructor of the CellEditorManager itself. In both cases I tried the following:

         private void editor_ActivatingControl( object sender, CellEditorEventArgs e )
            e.Control.DragDrop += new DragEventHandler( ctl_DragDrop );
            e.Control.DragEnter += new DragEventHandler( ctl_DragEnter );

This fired neither event. I also tried subscribing to e.Cell.DragDrop and e.Cell.DragEnter, but those didn’t fire either. 

Could the problem be that I am using my own subclassed version of the Xceed GridControl (which has its own handlers for DragDrop and DragEnter) as my base class for my TaskEditor subclass? Or am I subscribing to these events in the wrong place? Or what?

Thanks again for your patience with what are no doubt naive questions.


Aaron Haspel




Imported from legacy forums. Posted by Aaron (had 497 views)