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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Autocomplete mode causes error when closing window

Thread ID:

Created:

Updated:

Platform:

Replies:

131751 Jul 25,2017 07:49 PM UTC Jul 26,2017 04:51 AM UTC WPF 1
loading
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"
                            SearchItemPath="Name"
                            AutoCompleteMode="Suggest"
                            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. 
 
 
Regards, 
 
Keerthana J 


CONFIRMATION

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.

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

;