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. Image for the cookie policy date

InvalidOperationException when SfTextBoxExt-Instance gets disposed

An InvalidOperationException is thrown from SfTextBoxExt when the TextBox has the Keyboard-Focus and the
Dispose-Method is called.
This happens with Version 15.2.0.40 and 15.2.0.43. With Version 15.1.0.41 everything works well.

The Exception-Details are:

Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead.
System.InvalidOperationException
   at System.Windows.Controls.ItemCollection.Clear()
   at Syncfusion.Windows.Controls.Input.SfTextBoxExt.Dispose()
   at Syncfusion.Windows.Controls.Input.SfTextBoxExt.SfTextBoxExt_Unloaded(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastUnloadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Best regards,

Stefan Stolz

5 Replies

KJ Keerthana Jegannathan Syncfusion Team June 26, 2017 06:26 AM UTC

Hi Stefan, 
 
We considered the 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 



JD Johan Donne July 2, 2017 09:14 AM UTC

Hi,

Is there a workaround for this? I am having the same issue...

Many Thanks!

Johan



PB Priyanga Balasubramaniam Syncfusion Team July 3, 2017 12:56 PM UTC

Hi Johan,

There is no work around for the reported issue.

We considered the 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.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents  

Regards,
Priyanga B


WN Wagener Nicolas July 24, 2017 08:59 AM UTC

Hi,I am having the same issue...As soon as there is not a workaround, can you open an issue for me too ?    Many Thanks!Nicolas


KJ Keerthana Jegannathan Syncfusion Team July 25, 2017 04:34 AM UTC

Hi Wagener, 
 
We considered the 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 


Loader.
Up arrow icon