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.
Unfortunately, activation email could not send to your email. Please try again.

Exception raised by binding to grid.

Thread ID:





103285 Apr 19,2012 04:46 AM Apr 20,2012 07:19 AM WPF 1
Tags: GridControl
Itay Sofer
Asked On April 19, 2012 04:46 AM

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.

Rajasekar [Syncfusion]
Replied On April 20, 2012 07:19 AM

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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.