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

The occurring order of an event

Hi, I''m using the gridcontrol in 3.3.0.0. When DragDrop processing of Grid is performed, a DragDrop event is occur after CellsChanging event. However, in former gridControl (Ver1.6.1.0), the DragDrop event occurred previously. Can the occurring order of an event be changed like former(DragDrop→CellsChanging)? If it can do, please teach me a way. Thanks,

1 Reply

AD Administrator Syncfusion Team November 28, 2005 11:49 AM UTC

If you want to catch the DragDrop before the CellsChanged, then one way is to use virtual overrides in a derived class instead of using events. So, derive the GridControl, override OnDragDrop. In your override, perform the work you are now doing in the grid.DragDrop event handler, and then call the baseclass to trigger the normal event processing.

Loader.
Live Chat Icon For mobile
Up arrow icon