This question is locked. New answers and comments are not allowed.
I have interesting problem.
In my DataTemplate I have:
When my form is loaded, I see value in first field (CisMater) but second field (NazevMater) is empty (both values in entity are not null and are not empty). Dataset has more records, so I can move to next record - this second record is displayed correctly (both fields). When I move back to first record, now I see both values too.
My source is RadDomainDataSource, RadDataForm:
Because this is based on my older code, probably this was changed in final version and in beta worked. But I am not sure.
In my DataTemplate I have:
<!-- DataFormDataField only --><telerik:DataFormDataField Grid.Row="0" Label="Kód:" Margin="2"DataMemberBinding="{Binding CisMater, Mode=TwoWay}"/><!-- DataFormDataField with content --> <telerik:DataFormDataField Grid.Row="1" Label="Název:" Margin="2" > <TextBox Text="{Binding NazevMater, Mode=TwoWay}" IsReadOnly="True"/></telerik:DataFormDataField>When my form is loaded, I see value in first field (CisMater) but second field (NazevMater) is empty (both values in entity are not null and are not empty). Dataset has more records, so I can move to next record - this second record is displayed correctly (both fields). When I move back to first record, now I see both values too.
My source is RadDomainDataSource, RadDataForm:
<telerik:RadDataForm Grid.Row="1" Header="Produkty" AutoGenerateFields="false" CommandButtonsVisibility="All" ReadOnlyTemplate="{StaticResource detail}" EditTemplate="{StaticResource detail}" NewItemTemplate="{StaticResource detail}" DeletedItem="RadDataForm_DeletedItem" EditEnded="RadDataForm_EditEnded" ItemsSource="{Binding DataView, ElementName=ProduktyDataSource}" />Because this is based on my older code, probably this was changed in final version and in beta worked. But I am not sure.