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

Gauge issue after Upgrading

2 Answers 96 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vinay
Top achievements
Rank 1
Vinay asked on 31 Jan 2012, 11:17 AM
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.

2 Answers, 1 is accepted

Sort by
0
jeremiah
Top achievements
Rank 1
answered on 22 May 2012, 07:02 PM
I experienced the same issue.
0
Accepted
Andrey
Telerik team
answered on 25 May 2012, 08:14 AM
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 >>

Tags
Gauge
Asked by
Vinay
Top achievements
Rank 1
Answers by
jeremiah
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or