I am trying to use autocomplete mode for textboxext. Autocomplete works fine but when i close the window on which the textbox is on i get an error:
"System.InvalidOperationException: 'Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead.'"
I am using "standard" binding to observableCollection in viewmodel:
<sf:SfTextBoxExt HorizontalAlignment="Center"
VerticalAlignment="Center" Width="150"
SearchItemPath="Name"
AutoCompleteMode="Suggest"
AutoCompleteSource="{Binding AvailableProducts}" />
where could be the problem?