Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > Gauge issue after Upgrading

Not answered Gauge issue after Upgrading

Feed from this thread
  • vinay uthappa avatar

    Posted on Jan 31, 2012 (permalink)

    Hi,
    We are using Gauge control in many places,
    Recently i added latest version of dll's silverlight version 2011.3.1220.1040
    Now  if i try to build i am getting errors in every places stating
    Ex : Type 'Telerik:RadGauge' was not found
    Ex : The attachable propert 'MajorTick' was not found in 'LinearScale'

    Below is the code to one of my page
    <telerik:RadGauge x:Name="monthToDate" Margin="15,0,15,10">
                            <telerik:LinearGauge>
                                <telerik:LinearScale x:Name="linearScale" Left="0.5" Top="0.1" RelativeHeight="0.81">
                                    <telerik:LinearScale.MajorTick>
                                        <telerik:MajorTickProperties Location="OverCenter" />
                                    </telerik:LinearScale.MajorTick>
                                    <telerik:LinearScale.MiddleTick>
                                        <telerik:MiddleTickProperties Location="OverCenter" Length="0.07" />
                                    </telerik:LinearScale.MiddleTick>
                                    <telerik:LinearScale.MinorTick>
                                        <telerik:MinorTickProperties Location="OverCenter" Length="0.055" />
                                    </telerik:LinearScale.MinorTick>
                                    <telerik:LinearScale.Label>
                                        <telerik:LabelProperties FontSize="9" Offset="0.02" Location="Outside" />
                                    </telerik:LinearScale.Label>
                                    <telerik:RangeList>
                                        <telerik:LinearRange x:Name="linearRangeGreen" StartWidth="0.04" EndWidth="0.04" Location="OverCenter" Background="{StaticResource green}" BorderBrush="#7FFFFFFF" />
                                        <telerik:LinearRange x:Name="linearRangeYellow" StartWidth="0.04" EndWidth="0.04" Location="OverCenter" Background="{StaticResource yellow}" BorderBrush="#7FFFFFFF" />
                                        <telerik:LinearRange x:Name="linearRangeRed" StartWidth="0.04" EndWidth="0.04" Location="OverCenter" Background="{StaticResource red}" BorderBrush="#7FFFFFFF" />
                                    </telerik:RangeList>
                                    <telerik:IndicatorList>
                                        <telerik:Marker x:Name="markerMTD" Style="{StaticResource LinearMarkerStyle}" RelativeHeight="0.04" RelativeWidth="0.08" IsAnimated="True" />
                                    </telerik:IndicatorList>
     
                                </telerik:LinearScale>
                            </telerik:LinearGauge>
                        </telerik:RadGauge>
    And below is the Namesapces used in the above screen
       mc:Ignorable="d"
       d:DesignHeight="300" d:DesignWidth="400"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Please look into this, as my previous posts have been ignored.

    Reply

  • jeremiah avatar

    Posted 2 days ago (permalink)

    I experienced the same issue.

    Reply

  • Andrey Andrey admin's avatar

    Posted 8 hours ago (permalink)

    Hi,

    In 2011.Q3 release we introduced a new gauge control. It is almost a new control redesigned from scratch. Some of its features are similar to the old control’s features but they are implemented in absolutely different way (using different set of properties), some features are completely new.

    Our demo application now references new gauge control and demonstrates its features. The help topics also describe features of the new control. We strongly recommend using the new gauge control in the new applications. We also would recommend replacing the old control with new one in existing applications if there is a timeframe for this task.


    To avoid cross-controls problems we have removed the old control from the default Telerik namespace. But is still can be used in your XAML as following:
    <UserControl x:Class="OldGaugeControl.MainPage"
        xmlns:gauge="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Gauge"
        xmlns:gauges="clr-namespace:Telerik.Windows.Controls.Gauges;assembly=Telerik.Windows.Controls.Gauge"
        mc:Ignorable="d"
        d:DesignHeight="300" d:DesignWidth="400">
        <Grid x:Name="LayoutRoot" Background="White">
            <gauge:RadGauge>
                <gauges:RadialGauge>
                    <gauges:RadialScale Name="radialScale">
                        <gauges:IndicatorList>
                            <gauges:Needle Value="75" />
                        </gauges:IndicatorList>
                    </gauges:RadialScale>
                </gauges:RadialGauge>
            </gauge:RadGauge>
        </Grid>
    </UserControl>

    Regards,
    Andrey Murzov
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > Gauge issue after Upgrading
Related resources for "Gauge issue after Upgrading"

Silverlight Gauge Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]