To reproduce: please refer to the attached sample project. 1. Edit the CommonInt property for the first child row. 2. Edit the CommonInt property for the second child row. Workaround: Add the grid programmatically at run time. Second Workaround: this.radGridView1.CellValueChanged+=radGridView1_CellValueChanged; private void radGridView1_CellValueChanged(object sender, GridViewCellEventArgs e) { e.Column.OwnerTemplate.Refresh(e.Column); }
Hello John, Thank you for sharing the workaround. I have added it to the item's description. Regards
I did find a workaround to this bug: In the DataGridCellValueChanged event I call: e.Column.OwnerTemplate.Refresh(e.Column); This in turn calls the RebuildColumnAccessors() method which reconstructs the column accessor. And this prevents the error we were getting in ObjectRelationalAccessor when the cached object was being reused. Thanks, ~John