This is a migrated thread and some comments may be shown as answers.

Cannot resolve all property references in the property path 'Effect.Progress'. Verify that applicable objects support the properties.

9 Answers 363 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Saulius Kundrotas
Top achievements
Rank 1
Saulius Kundrotas asked on 22 Oct 2010, 11:58 AM
Hi,

Recently we found one show stopper bug after we moved to telerik controls version 2010.2.812. In this version TrasitionControl seems had serious changes. We use transition control inside datatemplates and rendering of views is done mostly with datatemplates.

Thanks for any help.

Exception - "Cannot resolve all property references in the property path 'Effect.Progress'. Verify that applicable objects support the properties."

StackTrace (stack trace i have copied trying lates internal build 2010.2.1018): 

   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() in c:\Builds\WPF_Scrum\HotFix_2010_Q2\Sources\Development\Core\Controls\TransitionControl\TransitionPresenter.cs:line 465
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()

9 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 27 Oct 2010, 12:51 PM
Hi Saulius,

We are shooting in the dark here. Could you please send us a sample project that reproduces the problem? It would be very helpful to investigate the problem.

I will be glad to assist you further. 

Greetings,
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
Hasan Khan
Top achievements
Rank 1
answered on 02 Dec 2010, 04:39 PM
To reproduce the problem,

Create a Transition control as a region in a prism application (shell) and then change the content frequently (via some button click).
If transition control has to change the content so frequently such that the content changes before the animation ends, then this exception occurs.

We're also experiencing this bug, please fix this.

Thanks

Hasan
0
Miroslav Nedyalkov
Telerik team
answered on 07 Dec 2010, 02:37 PM
Hi Hasan,

 Could you please give us some more details about how do you change the content of the TransitionControl - do you change the Active view in the region, do you load other modules or something else? Providing us with a sample project that reproduces the issue will help us a lot.

Greetings,
Miroslav Nedyalkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Hasan Khan
Top achievements
Rank 1
answered on 07 Dec 2010, 07:13 PM
Miroslav

You can get the sample project form http://www.filedropper.com/telerikradtransitionbug

Just repeatedly press the button on window and your application will crash.

Regards

Hasan
0
Miroslav Nedyalkov
Telerik team
answered on 08 Dec 2010, 04:59 PM
Hello Hasan,

 Thank you for providing us with a sample project that reproduces the issue - we were able to reproduce it and I logged the issue in our issue tracking system. Here is the ID - 4295. What I would suggest you is to disable changing of the content until the animation is finished. I know this is not a fix, but it could help you until we fix the issue.

Greetings,
Miroslav Nedyalkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Paul Patterson
Top achievements
Rank 1
answered on 16 Feb 2011, 10:56 PM
For what it is worth, I am running into a similar issue (exact same exception message).

The issue only appeared after creating a UserControl with a RadChart on it, and then adding that control to a region within a module that gets loaded after the transition (also using Prism here). 

I resolved this by adding the user control via a separate BackgroundWorker. E.g.

' This is the code behind for a UserControl named TempView....
Public Class TempView
   
  Dim _backgroundWorker As BackgroundWorker = New BackgroundWorker
 
  Sub New()
 
     '  This call is required by the designer.
     InitializeComponent()
 
     '  Add any initialization after the InitializeComponent() call.
     AddHandler _backgroundWorker.DoWork, AddressOf DoBackgroundWork
     AddHandler _backgroundWorker.RunWorkerCompleted, AddressOf BackgroundWorkCompleted
 
  End Sub
 
  Private Sub DoBackgroundWork(ByVal sender As Object, ByVal e As DoWorkEventArgs)
    Threading.Thread.Sleep(300)
  End Sub
 
  Private Sub BackgroundWorkCompleted(ByVal Sender As Object, ByVal e As RunWorkerCompletedEventArgs)
    AddChart()
  End Sub
 
  Private Sub TempView_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
     _backgroundWorker.RunWorkerAsync()
  End Sub
 
  Private Sub AddChart()
    ' In this example, a RadOutlookBarItem is being added to a RadOutlookBar
    ' on the user control, and a ChartView (a user control) is added to it's content.
    ' The view has a RadChart on it.
    Dim myChartBarItem As New RadOutlookBarItem
    myChartBarItem .Header = "Project Status"
    myChartBarItem .Content = New ChartView
    NavigatorOutlookBar.Items.Add(myChartBarItem )
 End Sub
 
End Class

Not a pretty work around, but it does the job. I'll be interested in the fix when it comes out though.

By the way, I am using the WPF Q3 2010 SP1 (2010.3.1314.35) bits. 

Cheers

0
Miroslav Nedyalkov
Telerik team
answered on 22 Feb 2011, 02:36 PM
Hi Paul,

 Thank you for sharing your work-around. We will take your case into account when addressing the problem.

Kind regards,
Miroslav Nedyalkov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Ruhban
Top achievements
Rank 1
answered on 04 Apr 2011, 08:54 AM
Is there any event published by RadTransitionControl that tells us whether the animation has completed or not?
0
Yana
Telerik team
answered on 06 Apr 2011, 02:29 PM
Hello Vishal,

 
Currently RadTransitionControl doesn't have such an event. However, it's logged in our public issue tracking system (PITS), you can vote for it and track its progress here.

Greetings,
Yana
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
Tags
TransitionControl
Asked by
Saulius Kundrotas
Top achievements
Rank 1
Answers by
George
Telerik team
Hasan Khan
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Paul Patterson
Top achievements
Rank 1
Ruhban
Top achievements
Rank 1
Yana
Telerik team
Share this question
or