NumericIndicator is not working after Q2 2013 upgrade

4 posts, 1 answers
  1. Eugene
    Eugene avatar
    4 posts
    Member since:
    Mar 2013

    Posted 26 Jun 2013 Link to this post

    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
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 27 Jun 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Eugene
    Eugene avatar
    4 posts
    Member since:
    Mar 2013

    Posted 27 Jun 2013 Link to this post

    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
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 28 Jun 2013 Link to this post

    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 >>
Back to Top