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

TimeBar issues in Expression Blend

1 Answer 25 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Rav
Top achievements
Rank 2
Rav asked on 08 Dec 2011, 07:04 AM
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).

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 12 Dec 2011, 05:15 PM
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 >>

Tags
TimeBar
Asked by
Rav
Top achievements
Rank 2
Answers by
Sia
Telerik team
Share this question
or