Hi,
After upgrading to Q2 2013 release we start having problems with numeric indicator. Currently FontNumberPosition is only working position. Any other position crashes our application with next details:
Line: 1
Error: Unhandled Error in Silverlight Application Error HRESULT E_FAIL has been returned from a call to a COM component.
I did not change reference numbers. I just switched reference of the same set of dll from Q1 to Q2. Do I need to reference something else now?
I have created a simple project with only one NumericIndicator on it. (Taken from http://www.telerik.com/help/silverlight/numeric-scale-numeric-indicator.html )
It crashes with
Line: 56
Error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)
But if I change position to FontNumberPosition - it works perfectly.
We did not have a problem with this control on Q1. Do we need to do something or it is broken?
Eugene
After upgrading to Q2 2013 release we start having problems with numeric indicator. Currently FontNumberPosition is only working position. Any other position crashes our application with next details:
Line: 1
Error: Unhandled Error in Silverlight Application Error HRESULT E_FAIL has been returned from a call to a COM component.
I did not change reference numbers. I just switched reference of the same set of dll from Q1 to Q2. Do I need to reference something else now?
I have created a simple project with only one NumericIndicator on it. (Taken from http://www.telerik.com/help/silverlight/numeric-scale-numeric-indicator.html )
<
UserControl
x:Class
=
"RadControlsSilverlightApp1.MainPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
telerik:RadVerticalLinearGauge
Width
=
"150"
Height
=
"50"
telerik:StyleManager.Theme
=
"Windows8"
>
<
telerik:NumericScale
Min
=
"0"
>
<
telerik:NumericScale.Indicators
>
<
telerik:NumericIndicator
Name
=
"numericIndicator"
Value
=
"543.216"
Format
=
"{}{0:F2}"
Foreground
=
"#FF1E8D00"
telerik:ScaleObject.RelativeX
=
"0"
telerik:ScaleObject.RelativeY
=
"0"
telerik:ScaleObject.RelativeWidth
=
"1*"
telerik:ScaleObject.RelativeHeight
=
"1*"
>
<
telerik:NumericIndicator.Positions
>
<
telerik:HexagonalNumberPosition
/>
<
telerik:HexagonalNumberPosition
/>
<
telerik:HexagonalNumberPosition
/>
<
telerik:HexagonalNumberPosition
/>
<
telerik:HexagonalNumberPosition
/>
<
telerik:HexagonalNumberPosition
/>
</
telerik:NumericIndicator.Positions
>
</
telerik:NumericIndicator
>
</
telerik:NumericScale.Indicators
>
</
telerik:NumericScale
>
</
telerik:RadVerticalLinearGauge
>
</
Grid
>
</
UserControl
>
It crashes with
Line: 56
Error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at System.Windows.ResourceManagerWrapper.GetResourceForUri(Uri xamlUri, Type componentType)
But if I change position to FontNumberPosition - it works perfectly.
We did not have a problem with this control on Q1. Do we need to do something or it is broken?
Eugene