Hi,
I am trying to add a dropdown column in the edit form of a RadGrid that is bound to an ObjectDatasource and populated by a WCF Service and using the Entity Framework for Data Access.
Sample: Item has a Item Type Foreign Key.
I can display the text of the foreign key in the RadGrid by using the GridTemplateColumn and Eval("{ForeignKeyEntity}.{DisplayValue}"). I can also display the dropdown column in the edit form but as soon as I change the selected item and I update the row I get a script error where the selected value cannot be converted to a EntitySet.
Can someone please help me with a sample of the proper way to edit the Foreign Key items on an entity using a object datasource.
Thank you,
I am trying to add a dropdown column in the edit form of a RadGrid that is bound to an ObjectDatasource and populated by a WCF Service and using the Entity Framework for Data Access.
Sample: Item has a Item Type Foreign Key.
I can display the text of the foreign key in the RadGrid by using the GridTemplateColumn and Eval("{ForeignKeyEntity}.{DisplayValue}"). I can also display the dropdown column in the edit form but as soon as I change the selected item and I update the row I get a script error where the selected value cannot be converted to a EntitySet.
Can someone please help me with a sample of the proper way to edit the Foreign Key items on an entity using a object datasource.
Thank you,