We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Autocomplete mode causes error when closing window

Thread ID:





131751 Jul 25,2017 07:49 PM UTC Jul 26,2017 04:51 AM UTC WPF 1
Tags: SfTextBoxExt
Tadej Kokovnik
Asked On July 25, 2017 07:49 PM UTC

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"
                            AutoCompleteSource="{Binding AvailableProducts}" />

where could be the problem?

Keerthana Jegannathan [Syncfusion]
Replied On July 26, 2017 04:51 AM UTC

Hi Tadej, 
We considered this issue “InvalidOperationException has been thrown when SfTextBoxExt has got focus” as bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
Keerthana J 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon