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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DragDrop event not firing?

Thread ID:





67360 Aug 15,2007 02:04 PM UTC Aug 17,2007 03:59 PM UTC WinForms 2
Tags: GridControl
Asked On August 15, 2007 02:04 PM UTC


I've dropped a new Syncfusion GridControl onto a windows form and set the following properties/events,
gridControl1.AllowDragSelectedCols = true;
gridControl1.DragDrop += new DragEventHandler(gridControl1_DragDrop);

However, the DragDrop event handler never fires when I drop a column header in a new position after clicking and dragging it.

Can anybody please explain why this is indeed the case.



Rajagopal [Syncfusion]
Replied On August 17, 2007 01:59 AM UTC


Thanks for your interest in Syncfusion Products.

When you try to move columns by selecting them and then mousing down on the column header and dragging them is controlled by the AllowDragSelectedCols property. This functionality does not depend on OLE drag and drop support. The DragDrop event will get triggered when you use the OLE dragdrop support by setting the grid.AllowDrop property to true. The grid.ColsMoved event will get triggered when you drag the selected columns by setting the AllowDragSelectedCols property to true.

Please refer the samples on DragDropSupport in browser samples for more information

Let me know if you have any other questions.

Have a nice time.

Replied On August 17, 2007 03:59 PM UTC

That's a great explanation.

Thanks for the reply.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon