Hey at Telerik
I have a problem when binding gridview to a List<Car>.
The Car object contains two objects Engine and CarColor.
I have a problem when binding gridview to a List<Car>.
The Car object contains two objects Engine and CarColor.
If an Engine or CarColor is initialized on the car object the e.Value in the
rgvCars_CellEndEdit event is correctly changed and parsed and object is updated.
If no Engine or CarColor object is initialized on the Car object and i try to set for instance and engine in the combobox, the e.Value in the rgvCars_CellEndEdit event is null and the object is not updated.
How do i set an Engine or CarColor on the Car object if there's no Engine or CarColor initialized ??
I have include an example (Without an assembly) that shows the problem at hand when you try to select for intance an Engine on the Car that doesn't have an Engine object initialzed.
Link to example.
http://kort2.lifa.dk/Examples/GridViewCellEndEditIssue.zip
Sincerly Jan