TimeBar issues in Expression Blend

2 posts, 0 answers
  1. Rav
    Rav avatar
    36 posts
    Member since:
    Nov 2011

    Posted 08 Dec 2011 Link to this post

    Hi Telerik

    Since the latest Q3 release I've had issues with TimeBar inside Expression Blend. I see the following exceptions when I debug Blend:

    System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'Telerik.Windows.Controls.SelectionRange`1[System.Double]' (type 'Telerik.Windows.Controls.SelectionRange`1[System.Double]'); BindingExpression: Path='ActualVisiblePeriodRange' DataItem='Telerik.Windows.Controls.RadTimeBar' (HashCode=40250071); target element is 'Telerik.Windows.Controls.RadSlider' (Name='PART_Slider'); target property is 'Selection' (type 'Telerik.Windows.Controls.SelectionRange`1[System.Double]').. System.InvalidOperationException: Can't convert type Telerik.Windows.Controls.SelectionRange`1[System.Double] to type Telerik.Windows.Controls.SelectionRange`1[System.Double].
       at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource)
       at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType)
       at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
       at System.Windows.Data.BindingExpression.ConvertToTarget(Object value).
    System.Windows.Data Error: 'MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'Telerik.Windows.Controls.RadSlider Minimum:0 Maximum:0 Value:0' (type 'Telerik.Windows.Controls.RadSlider'); BindingExpression: Path='' DataItem='Telerik.Windows.Controls.RadSlider Minimum:0 Maximum:0 Value:0' (HashCode=11349229); target element is 'Telerik.Windows.Controls.TimeBar.TimeBarNonScrollingPanel' (Name=''); target property is 'Slider' (type 'Telerik.Windows.Controls.RadSlider').. System.InvalidOperationException: Can't convert type Telerik.Windows.Controls.RadSlider to type Telerik.Windows.Controls.RadSlider.
       at MS.Internal.Data.DefaultValueConverter.Create(Type sourceType, Type targetType, Boolean targetToSource)
       at MS.Internal.Data.DynamicValueConverter.EnsureConverter(Type sourceType, Type targetType)
       at MS.Internal.Data.DynamicValueConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
       at System.Windows.Data.BindingExpression.ConvertToTarget(Object value).
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 12 Dec 2011 Link to this post

    Hi Rav,

    Thank you for contacting Telerik Support.

    I have tried to reproduce this issue in local tests, but it works as expected. In the attached file you can find my test project which works as expected in Blend 4.
    Could you please modify it to replicate the unwanted behavior or submit another working project which demonstrates it? Thus we will do our best to provide you with a working solution.

    Regards,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top