RadComboBox - InvalidOperationException

6 posts, 0 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    72 posts
    Member since:
    Mar 2010

    Posted 15 May 2014 Link to this post

    Hello,

    we sometimes get an exception on a Radcombobox (with the newest Telerik dlls).
    This Combobox ist placed in a toolbar, with ist in a RadTabbar. when Opeinging the combox and switching the tab sometimes the combox gets broken and cannot be opend anymore.

    The following exception occurs:


    {System.InvalidOperationException: Animationsziel nicht festgelegt.
    bei MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
    bei MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
    bei System.Windows.Media.Animation.Storyboard.Begin()
    bei Telerik.Windows.Controls.Animation.AnimationManager.Play(FrameworkElement target, String animationName, Action completeCallback, Boolean animateSelf, Object[] args)
    bei Telerik.Windows.Controls.Animation.AnimationManager.Play(FrameworkElement target, String animationName, Action completeCallback, Object[] args)
    bei Telerik.Windows.Controls.AutoClosePopupWrapper.set_IsOpen(Boolean value)
    bei Telerik.Windows.Controls.AutoClosePopupWrapper.ClickedOutsidePopup(Object sender, RadRoutedEventArgs e)
    bei Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
    bei Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
    bei Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
    bei Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
    bei Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
    bei Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
    bei Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
    bei Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
    bei Telerik.Windows.Controls.PopupPlacement.OnClickedOutsidePopup(Object originalSource)
    bei Telerik.Windows.Controls.PopupPlacement.OnMouseDownHandler(Object sender, MouseButtonEventArgs e)
    bei MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
    bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}
  2. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 16 May 2014 Link to this post

    Hello Matthias,

    We have tried to reproduce the exception, but we were not able to do so. In addition as it happens sometimes we have tried different scenarios involving a lot of clicking, but still no luck.

    So I am attaching my test application and it would be great if you can check it out and let me know if I am not missing something and can you observe the issue in there. Also if the issue cannot be reproduced in the attached project it would be helpful if you can send us the application in which you are observing it and if possible with any steps to reproduce.

    Anyway it seems from the stack trace like the AnimationManager is trying to animate some missing element. So as a workaround you can disable the AnimationManager as shown in the project on the first RadComboBox:

    telerik:AnimationManager.IsAnimationEnabled="False"
    telerik:AnimationManager.AnimationSelector="{x:Null}"

    Hope this would help.


    Regards,
    Georgi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
  4. David
    David avatar
    15 posts
    Member since:
    Nov 2011

    Posted 28 Jan 2015 Link to this post

    Hello,

    I have the same exception after update assemblies to the latest version.

    The RadRibbonCombobox is displayed in a wrong visual state maybe because the lost focus handler when i change between RadRibbonTabs (Same stacktrace)

    Hope this would help.
  5. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 30 Jan 2015 Link to this post

    Hi David,

    Thank  you for the additional information.

    Can you confirm that this happens only sometime or it can be reproduce every time?
    Also it would be great if you can let us know if you have something additional that could be causing it as sending us simple project would be really helpful.

    Looking forward to your reply.

    Regards,
    Georgi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  6. David
    David avatar
    15 posts
    Member since:
    Nov 2011

    Posted 02 Feb 2015 in reply to Georgi Link to this post

    Hi Georgi,

    It happens when i keep open the RadComboBox Popup and change to another RibbonTab. (Only in Windows7 Theme) but i have been unable to reproduce in a simple project.

  7. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 05 Feb 2015 Link to this post

    Hi David,

    Thank you for narrowing it down to the Windows7 theme.

    So can you let us know if you are using StyleManager of ImplicitStyles to set the theme.
    As you mentioned that this started to happens after you upgraded to the latest (2014.3.1202) version it would be helpful if you can tell us in witch version of the controls the issue was not present.

    Also as this can't be reproduced in simple project a video showing the issue would be of great help.

    Hope to hear from you soon.

    Regards,
    Georgi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner