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

NumericIndicator is not working after Q2 2013 upgrade

3 Answers 48 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 27 Jun 2013, 02:13 AM
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 )
<UserControl x:Class="RadControlsSilverlightApp1.MainPage"
        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

3 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 27 Jun 2013, 08:17 AM
Hi Eugene,

We know about this problem and it is fixed already. The fix is available in the latest internal build.

Regards,
Andrey Murzov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Eugene
Top achievements
Rank 1
answered on 27 Jun 2013, 06:27 PM
Andrey,

Thank you for your answer.
How can I access the internal build? The product is not registered under my name - I use site license from my company.

Thanks,
Eugene
0
Andrey
Telerik team
answered on 28 Jun 2013, 07:42 AM
Hi Eugene,

The latest internal builds should be available in the “'Products & Subscriptions” menu in your account. Make sure you have logged with the account that made the purchase. Otherwise ask the owner of that account to add you as a licensed developer.

Regards,
Andrey Murzov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Gauge
Asked by
Eugene
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Eugene
Top achievements
Rank 1
Share this question
or