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

Quarter circle guage issue

1 Answer 89 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
James Kucharski
Top achievements
Rank 1
James Kucharski asked on 15 Sep 2009, 06:20 PM
Im dealing with the following xaml:

       <Grid>  
     <Grid.Resources>
      <ResourceDictionary>
       <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Telerik.Windows.Controls.Gauge;component/Themes/Generic.xaml" />
       </ResourceDictionary.MergedDictionaries>
      </ResourceDictionary>
     </Grid.Resources>
        <telerikNavigation:RadToolBar VerticalAlignment="Top">
         <telerikInput:RadComboBox Width="125"/>
         <Button Width="75" Content="Update" BorderThickness="2">
          <Button.BorderBrush>
           <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FF718597"/>
            <GradientStop Color="#FF2D3F4D" Offset="1"/>
           </LinearGradientBrush>
          </Button.BorderBrush>
         </Button>
        </telerikNavigation:RadToolBar>
        <Telerik_Windows_Controls:RadChart Height="130" Margin="8,30,191,0" VerticalAlignment="Top" Content="RadChart"/>
        <Telerik_Windows_Controls:RadChart Height="130" Margin="8,0,191,109" VerticalAlignment="Bottom" Content="RadChart"/>
        <Telerik_Windows_Controls_Gauge:RadGauge Height="130" HorizontalAlignment="Right" Margin="0,30,8,0" VerticalAlignment="Top" Width="179">
         <Telerik_Windows_Controls_Gauges:RadialGauge HorizontalAlignment="Right" Style="{StaticResource RadialGaugeQuarterCircleNWStyle}">
          <Telerik_Windows_Controls_Gauges:RadialScale Height="100" Width="100" Style="{StaticResource RadialGaugeQuarterCircleNWStyle}"/>
         </Telerik_Windows_Controls_Gauges:RadialGauge>
        </Telerik_Windows_Controls_Gauge:RadGauge>
        <Telerik_Windows_Controls_Gauge:RadGauge HorizontalAlignment="Right" Margin="0,164,8,109" Width="179">
         <Telerik_Windows_Controls_Gauges:RadialGauge HorizontalAlignment="Right">
          <Telerik_Windows_Controls_Gauges:RadialScale Height="100" Width="100"/>
         </Telerik_Windows_Controls_Gauges:RadialGauge>
        </Telerik_Windows_Controls_Gauge:RadGauge>      
       </Grid>

With the following namespaces:

    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
 xmlns:Telerik_Windows_Controls_Charting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
 xmlns:Telerik_Windows_Controls_Gauge="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Gauge"
    xmlns:Telerik_Windows_Controls_Gauges="clr-namespace:Telerik.Windows.Controls.Gauges;assembly=Telerik.Windows.Controls.Gauge"   
 xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
 xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
 xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
 xmlns:Telerik_Windows_Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"

I get a cant find resource error for the <ResourceDictionary Source="/Telerik.Windows.Controls.Gauge;component/Themes/Generic.xaml" /> element.

There is no Telerik.Windows.Themes.Generic.dll included in the silverlight 3 binaries, so I can make that error go away by replacing "Generic.xaml" with "Vista.xaml", but either way the static resource RadialGaugeQuarterCircleNWStyle in the <Telerik_Windows_Controls_Gauges:RadialGauge HorizontalAlignment="Right" Style="{StaticResource RadialGaugeQuarterCircleNWStyle}">(and RadialScale) tags cannot be resolved.

I have Telerik.Windows.Controls.Gauge.dll as a resource, using expression blend 3.

Thanks

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 18 Sep 2009, 10:50 AM
Hi James,

We believe the reason for this is a flaw in Blend3 design-time support, which we already reported to Microsoft. Unfortunately the fix did not appear in the official Blend3 RTW (that is out now). We hope we'll see it in the next release.

Regards,
Andrey Murzov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Gauge
Asked by
James Kucharski
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or