I'm trying to use a grid to bind to an object data source that receives tis data from EF4.
I run into problems when I try to edit a column that is an associated entity.
I have the following two entities:
Register_App is associated to App. Thus Register_App has a property App which in turn has an ID.
I would like to display a dropdown combo so I can select the appropriate App and this infpo is persisted to the
object data source.
I made the following grid column:
It works fine in display mode. The App is bound based on the DataField App.ID, and the correct Name is displayed.
When I turn to edit mode, all is wel again. A combobox is displayed with all the Apps and the correct one is
displayed. When I try to save the data I get the following error:
I am surprised that the property App.ID is resolved in Display mode and Edit mode but not during save. Do you know
what I'm doing wrong?
Any help is greatly appreciated,
P.S. Below I included my entire control: