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
<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