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

Radial Gauge issue

1 Answer 70 Views
General Discussions
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, 04:41 AM
Im trying to use a quarter circle gauge, but I cant seem to find the correct namespace for ResourceDictionary... I have:
<navigation:Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    mc:Ignorable="d" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    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" x:Class="ForexApplication.Home"
    xmlns:Telerik_Windows_Controls_Gauges="clr-namespace:Telerik.Windows.Controls.Gauges;assembly=Telerik.Windows.Controls.Gauge"    d:DesignWidth="640" d:DesignHeight="480"
    Title="Home"
    Style="{StaticResource PageStyle}">
 <UserControl.Resources>
  <ResourceDictionary>
   <telerik:ResourceDictionary.MergedDictionaries>
    <telerik:ResourceDictionary Keys="RadialGaugeQuarterCircleNEStyle,
           RadialGaugeQuarterCircleNWStyle,
           RadialGaugeQuarterCircleSWStyle,
           RadialGaugeQuarterCircleSEStyle,
           RadialScaleQuarterCircleNEStyle,
           RadialScaleQuarterCircleNWStyle,
           RadialScaleQuarterCircleSWStyle,
           RadialScaleQuarterCircleSEStyle"
           Source="/Telerik.Windows.Controls.Gauge;component/Themes/Generic.xaml" />
   </telerik:ResourceDictionary.MergedDictionaries>
  </ResourceDictionary>
 </UserControl.Resources>

...

For the <telerik:ResourceDictionary.MergedDictionaries> tag I continue to get The error:

The name "ResourceDictionary" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 

I have a reference to Telerik.Windows.Controls.dll. The dll is copied from ...\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2009\Binaries\Silverlight

Looks like a simple dll reference issue, but the reference is clearly defined.

Im using silverlight 3 and Microsoft Expression Blend 3 on Vista x64

Thanks

1 Answer, 1 is accepted

Sort by
0
SteveL
Top achievements
Rank 2
answered on 15 Sep 2009, 01:07 PM
Merged Dictionaries are part of Silverlight 3, so removing the namespace prefix should make it work.

Steve
Tags
General Discussions
Asked by
James Kucharski
Top achievements
Rank 1
Answers by
SteveL
Top achievements
Rank 2
Share this question
or