Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
NullReferenceException in ColumnChooser_DragDropHelper
posted

I get the following exception in UltraGrid when GroupLayout is enabled and dragging a column and keep it in the cell area. Could you please help me with a solution? I also attached a test project in which you can reproduce the issue.

Download test project:

www.dropbox.com/.../UltraGridRowLayoutCustom.zip

The exception thrown:

System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Infragistics4.Win.UltraWinGrid.v18.1
StackTrace:
at Infragistics.Win.UltraWinGrid.UltraGridBase.ColumnChooser_DragDropHelper(Point mouseLocInClient, Boolean performDrop, CurrentCursor& cursorToDisplay)

  • 34810
    Offline posted

    Hello Jasper,

    I have been investigating into the sample project you have provided, and it appears that the version of Infragistics for Windows Forms 2018.1 is not the latest public version. I have reproduced the behavior you are seeing with the version of 18.1 that you are currently using, but after upgrading it to the latest service release of 18.1, I can no longer reproduce the behavior and so I recommend you do the same.

    In order to upgrade, you will need to sign into your account on the Infragistics website and visit your My Keys and Downloads page. From here, you should see a list of products you are registered to. Clicking the 2018.1 product you are registered to should result in a new set of tabs showing up, where one reads Service Releases. You can download the latest service release for Infragistics for Windows Forms 2018.1 there.

    Please let me know if you have any other questions or concern on this matter.