DataGridView DragDrop

0
0

Hi,

Since upgrading to WiseJ 3.1.4 we’ve noticed that all the drag/drop operations on our DataGridViews have stopped working. We’ve tried your sample and that’s not working either. It appears that the DragDrop event is not being called any more.

Are we missing something or is this a new bug?

Regards,

Neil.

  • You must to post comments
1
0

I have just had the same problem (the DragDrop event was not being called), I found that I had (in my DragStart method):

myDataGridView.DoDragDrop(SelectedLine, System.Windows.Forms.DragDropEffects.Move);

when I needed to have:

myDataGridView.DoDragDrop(SelectedLine, DragDropEffects.Move);

Note the absence of ‘System.Windows.Forms.’ in the second line. My program had been working with System.Windows.Forms.DragDropEffects.Move for the last few years but a recent update must have changed something. When I now hover over ‘DragDropEffects.Move’ it tells me it is ‘Wisej.Web.DragDropEffects’.

It should have been Wisej.Web.DragDropEffects’ all along but maybe I copied the code from a WinForms program, it worked so I never noticed.

Thought I would post this in case it helps someone else.

  • You must to post comments
0
0

Any idea when that will be rolled up to a new “official” release?

  • You must to post comments
0
0

Thansk Alaa, I’ve tested the preview version and it works again. Thanks.

@Neil, you need to check the checkbox saying “Include prerelease” in NuGet package manager.

See screenshot

Attachment
  • Neil Hoskins
    I can’t believe I forgot about that setting – sorry! I’ve updated, tested and can confirm drag/drop on a DataGridView works in that release.
  • You must to post comments
0
0

Hi Neil and Vincent,

A new version 3.1.5-preview-1 is out now on NuGet.org

Let me know if the issue is fixed on your applications!

Best,
Alaa

  • Neil Hoskins
    Hi Alaa – that’s great, I can’t find that on NuGet from within VS2022 – any ideas?
  • You must to post comments
0
0

Hi Neil, Vincent,

we could reproduce that issue and are working on a fix. We´ll let you know when it´s available.
Sorry for any inconvenience.

Best regards
Frank

  • You must to post comments
0
0

Same here.

 

I hope it gets fixed soon, I need to revert all my projects back to 3.1.2 now.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.