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

InvalidOperationException when SfTextBoxExt-Instance gets disposed

Thread ID:

Created:

Updated:

Platform:

Replies:

131144 Jun 23,2017 09:19 AM UTC Jul 25,2017 04:34 AM UTC WPF 5
loading
Tags: SfTextBoxExt
Stefan Stolz
Asked On June 23, 2017 09:19 AM UTC

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

Keerthana Jegannathan [Syncfusion]
Replied On 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 


Johan Donne
Replied On July 2, 2017 09:14 AM UTC

Hi,

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

Many Thanks!

Johan


Priyanga Balasubramaniam [Syncfusion]
Replied On 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

Wagener Nicolas
Replied On 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

Keerthana Jegannathan [Syncfusion]
Replied On 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 


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

;