System.InvalidOperationException: Cannot resolve all property references in the property path 'Effect.Progress'

8 posts, 0 answers
  1. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 03 Apr 2011 Link to this post

    Hello,

    After upgrading to Q1 2011 I am getting this exception from time to time:

    System.InvalidOperationException: Cannot resolve all property references in the property path 'Effect.Progress'. Verify that applicable objects support the properties.
       at System.Windows.Media.Animation.Storyboard.VerifyPathIsAnimatable(PropertyPath path)
       at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
       at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)
       at System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer)
       at System.Windows.Media.Animation.Storyboard.Begin()
       at Telerik.Windows.Controls.TransitionControl.TransitionPresenter.PlayAnimation()

    Any ideas ?
  2. George
    Admin
    George avatar
    1332 posts

    Posted 07 Apr 2011 Link to this post

    Hello Roland,

     
    Could you please give us more information about your scenario? In what circumstances this error occurs? We need this information to help us pinpoint the problem.

    I am glad to assist you further.

    Kind regards,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 07 Apr 2011 Link to this post

    I have a transition control registered as a Prism region. I have a view that performs some operation (variable time of processing).

    When the operation completes another view is initialized using the Prism composite event. The event handler switches the view in this region.

    The exception happens every time if the processing time is shorter than transition animation.
    My transition animation time is set to 0.0.0:4

    My guess is, try changing the view while the transition animation is still playing.

    Roland

  5. George
    Admin
    George avatar
    1332 posts

    Posted 13 Apr 2011 Link to this post

    Hello Roland,

     
    This is very strange. You could change the content for the RadTransitionControl even when the animation is not over. You could easily try this in our online demos - http://demos.telerik.com/wpf/Telerik.Windows.Examples.xbap?TransitionControl/FirstLook. We are not aware of such problem with the control, it could be a issue related to the PRISM.

    I would suggest you using a RadBusyIndicator to notify that something is processing. When the operation is complete, you could hide the RadBusyIndicator and place the View in the region(RadTransitionControl). In this scenario, you won't need to change the views in the region and I guess the problem will go away.

    I hope this helps.

    All the best,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 13 Apr 2011 Link to this post

    I was thinking about that also. At the moment, I reduced animation time. This condition will never happen in production, it only happens in debug due to very short load time.
  7. Abdul
    Abdul avatar
    5 posts
    Member since:
    Oct 2010

    Posted 13 May 2011 Link to this post

    Hi Roland and George,
                                        Just noticed the same problem on our app.  Basically the same setup with the same result (identical stack trace).  Slide and zoom transition in transition control as PRISM region and data being loaded to the controls in the background.  Same version of telerik controls.  Never seen it bomb before updating. 

    Have not tried to resolve this yet and was wondering if the op managed to resolve the issue as advised or some other way.  Any advice would be appreciated.

    Martin
  8. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 13 May 2011 Link to this post

    You can reduce the animation time for now.

    This should help.
  9. Abdul
    Abdul avatar
    5 posts
    Member since:
    Oct 2010

    Posted 13 May 2011 Link to this post

    Hi Roland,
                    Thanks for the swift reply.  I'll give that a go.
    Cheers
    Martin
Back to Top
UI for WPF is Visual Studio 2017 Ready