Hi,
I have a GridView with binding to an ObservableCollection in the ViewModel.
The GridView DataLoadMode is set to Asynchronous.
When removing an item from the ObservableCollection in the ViewModel, the GridView is not refershed and item is still shown.
If I set DataLoadMode as synchronous , It works fine.
Thanks,
Noam Shoeg
I have a GridView with binding to an ObservableCollection in the ViewModel.
The GridView DataLoadMode is set to Asynchronous.
When removing an item from the ObservableCollection in the ViewModel, the GridView is not refershed and item is still shown.
If I set DataLoadMode as synchronous , It works fine.
<telerik:RadGridView |
x:Name="RadGridViewGroups" |
Grid.Row="1" |
AutoGenerateColumns="False" |
DataLoadMode="Asynchronous" |
IsReadOnly="True" |
ItemsSource="{Binding Groups}" > |
public class GroupsViewModel : INotifyPropertyChanged |
{ |
public ObservableCollection<TradingGroup> Groups |
{ |
get |
{ |
return m_Groups; |
} |
set |
{ |
m_Groups = value; |
PropertyChanged.OnPropertyChanged(this, "Groups"); |
} |
} |
} |
Thanks,
Noam Shoeg