Hi,
I have some RadTabItem and each one have a gridview which are binded to lists of type ObservableCollections.
Each line of gridviews have on it a GridViewCheckBoxColumn
The collections contains entities which implement INotifyPropertyChanged.
The issue come when I start the application, I switch to the third tab I check the checkbox on one line and the field of the line is updated.
I switch to another tab and switch back to the third tab, check the checkbox on one line but now the field of the line is not updated.
I thought at the beginning that it was a problem of the entity which not update the data at it should but the entity have always the right values.
I also added a combobox in one tab for testing and binded it to the same collection of the gridview and the combobox show always the correct updated values so the problem seems to come from the gridview.
Here is the gridview of one tab:
And here is the combobox which is binded correctly to the collection:
Did you already experienced this issue?
Thanks
I have some RadTabItem and each one have a gridview which are binded to lists of type ObservableCollections.
Each line of gridviews have on it a GridViewCheckBoxColumn
and a GridViewDataColumn which show when the checkbox was updated for the last time.The collections contains entities which implement INotifyPropertyChanged.
The issue come when I start the application, I switch to the third tab I check the checkbox on one line and the field of the line is updated.
I switch to another tab and switch back to the third tab, check the checkbox on one line but now the field of the line is not updated.
I thought at the beginning that it was a problem of the entity which not update the data at it should but the entity have always the right values.
I also added a combobox in one tab for testing and binded it to the same collection of the gridview and the combobox show always the correct updated values so the problem seems to come from the gridview.
Here is the gridview of one tab:
<
telerik:RadGridView
telerik:StyleManager.Theme
=
"Office_Blue"
Width
=
"auto"
Height
=
"100"
ItemsSource
=
"{Binding MyCollection}"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewCheckBoxColumn
DataMemberBinding
=
"{Binding IsDemande, Mode=TwoWay}"
/>
<
telerik:GridViewDataColumn
Width
=
"auto"
DataMemberBinding
=
"{Binding DateLastUpdate}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
And here is the combobox which is binded correctly to the collection:
<
ComboBox
ItemsSource
=
"{Binding MyCollection}"
>
<
ComboBox.ItemTemplate
>
<
DataTemplate
>
<
ComboBoxItem
Content
=
"{Binding DateLastUpdate}"
/>
</
DataTemplate
>
</
ComboBox.ItemTemplate
>
</
ComboBox
>
Did you already experienced this issue?
Thanks