This question is locked. New answers and comments are not allowed.
<telerikGridView:RadGridView x:Name="gridPOItems" ItemsSource="{Binding ItemsDS.Data}" IsBusy="{Binding ItemsDS.IsBusy}" AutoGenerateColumns="False" ColumnWidth="Auto" CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" ShowGroupPanel="False" HorizontalAlignment="Left" CanUserDeleteRows="True" IsReadOnly="False" RowEditEnded="gridPOItems_RowEditEnded" IsFilteringAllowed="False" AlternationCount="2" AlternateRowBackground="{StaticResource AlternateBGBrush}" GridLinesVisibility="Vertical" RowIndicatorVisibility="Collapsed" > <telerikGridView:RadGridView.Columns> <telerikGridView:GridViewDataColumn Header="{Binding ApplicationStrings.ItemName, Source={StaticResource ResourceWrapper}}" DataMemberBinding="{Binding Item.ItemName}" TextAlignment="Left" HeaderTextAlignment="Center" ShowDistinctFilters="False" IsReadOnly="True"/>
<telerikGridView:GridViewDataColumn Header="{Binding ApplicationStrings.POItemNote, Source={StaticResource ResourceWrapper}}" DataMemberBinding="{Binding Note.NoteText, Mode=TwoWay}" TextAlignment="Left" HeaderTextAlignment="Center" ShowDistinctFilters="False" IsReadOnly="False"/>
</telerikGridView:RadGridView.Columns> </telerikGridView:RadGridView>I am using a domaindatasource to display a list of Items in a gridview. Each Item can have zero to 1 Note objects. I can successfully display the Item data (not pasted in xaml) and the Note.NoteText for an existing note, and I am also able to edit existing Items and Notes. However, i can't figure out how to insert a new Note if the Item doesn't already have one. Whenever i enter text for a new Note, the text disappears when i am finished editing the cell. On the server-side I am using EF and Ria Services. I have the Includes statements in my metadata and service queries. I also have insert and update statements for both POItem and Note.
Is it possible to insert a child object in this situation?