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
close icon

Exception raised by binding to grid.

I have a parent observable collection having a SelectedItem property.
This item owns a child observable collection.
Both collection are the items source of two GridDataControls, one lays on master window and the other on details.
Change of the SelelectedItem property invalidates the binding expression, accessing the TableModel.RowCount property. When Child table is empty, a NullReference execption is raised by the get_RowCount() method (the top of the exception stack trace).
I use Syncfusion 9.2.


1 Reply

RA Rajasekar Syncfusion Team April 20, 2012 11:19 AM UTC

Hi Itay,

Sorry for the inconvenience, We have tested the reported issue in different scenario but we are unable to reproduce the issue. Could you please check the below sample?

Sample: http://www.syncfusion.com/downloads/Support/DirectTrac/92094/WpfSFGDCParentChild-473532680.zip

We suspect you are using our grid in some other scenario, So If possible could you please modify our sample and revert us with replication procedure, that would be very helpful to resolve your problem earlier.

Please let know if you have any queries.

Thanks,
Rajasekar



Loader.
Live Chat Icon For mobile
Up arrow icon