This is a migrated thread and some comments may be shown as answers.
System.InvalidOperationException: Cannot resolve all property references in the property path 'Effect.Progress'
7 Answers 64 Views
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 04 Apr 2011, 03:44 AM
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 ?

7 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 07 Apr 2011, 03:06 PM
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
0
Roland
Top achievements
Rank 1
answered on 07 Apr 2011, 03:12 PM
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

0
George
Telerik team
answered on 13 Apr 2011, 09:52 AM
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
0
Roland
Top achievements
Rank 1
answered on 13 Apr 2011, 02:41 PM
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.
0
Abdul
Top achievements
Rank 1
answered on 13 May 2011, 12:35 PM
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
0
Roland
Top achievements
Rank 1
answered on 13 May 2011, 02:55 PM
You can reduce the animation time for now.

This should help.
0
Abdul
Top achievements
Rank 1
answered on 13 May 2011, 03:47 PM
Hi Roland,
                Thanks for the swift reply.  I'll give that a go.
Cheers
Martin
Asked by
Roland
Top achievements
Rank 1
Answers by
George
Telerik team
Roland
Top achievements
Rank 1
Abdul
Top achievements
Rank 1
Share this question
or