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

10 posts, 0 answers
  1. Saulius Kundrotas
    Saulius Kundrotas avatar
    4 posts
    Member since:
    May 2010

    Posted 22 Oct 2010 Link to this post

    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()

  2. George
    Admin
    George avatar
    1332 posts

    Posted 27 Oct 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Hasan Khan
    Hasan Khan avatar
    11 posts
    Member since:
    Jan 2010

    Posted 02 Dec 2010 Link to this post

    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
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 07 Dec 2010 Link to this post

    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
  6. Hasan Khan
    Hasan Khan avatar
    11 posts
    Member since:
    Jan 2010

    Posted 07 Dec 2010 Link to this post

    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
  7. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Dec 2010 Link to this post

    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
  8. Paul Patterson
    Paul Patterson avatar
    40 posts
    Member since:
    May 2010

    Posted 16 Feb 2011 Link to this post

    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

  9. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 22 Feb 2011 Link to this post

    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!
  10. Vishal
    Vishal avatar
    16 posts
    Member since:
    Jan 2011

    Posted 04 Apr 2011 Link to this post

    Is there any event published by RadTransitionControl that tells us whether the animation has completed or not?
  11. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Apr 2011 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready