The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
The list that I bind to the dropdowns does not contain null but the object that I bind to the grid does (only at the beginning since the user haven't chosen a value).
The ID in the object is a Nullable(Of Integer)
This gives me a lot of
System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Grid.GridComboBoxListBoxHelper.FindKey(IList thisList, PropertyDescriptor property, Object key)
Is there a property I can set (or something else) that will eliminate this exception?
NANisha Arockiya A Syncfusion Team March 9, 2009 11:50 AM UTC
Hi Stephane,
Thanks for your interest in Syncfusion Products.
It is hard to trace out the problem with out the working sample. Could you please reproduce the issue in a sample or provide your own working sample , so that it would be very helpful for us to fix the issue on time??
Please let me know any difficulties.
Regards, Nisha.
S_Stephane _March 9, 2009 01:52 PM UTC
If you pass your mouse over the dropdown arrow when there’s no value selected, you'll see a NullReference Exception.
You won't see a messagebox, it will be in the output window in vs.
NANisha Arockiya A Syncfusion Team March 10, 2009 12:29 PM UTC
Hi Stephane,
Thanks for the update.
It seems that the column datatype doesn't match the cell value. You might try setting the Style.CellValueType to the desired vlauetype. (ValueMember) to see that if that helps.
The Exception that occur on the output window has been handled internally, which does not affect the process execution. If you find it crash your sequence even now at runtime, please let me know.