Hi,
I am trying to create a cutom look for the RadGridView to suit our application theme. The templates are based on telerik default templates where you have used some converters:
FilterOperatorConverter,FilterCompositionLogicalOperatorConverter,DistinctValueConverter etc..
No matter how I declare them in a resource dictionary I get errors:
The first decleration prompts the error:
Ambiguous type reference. A type named 'FilterOperatorConverter' occurs in at least two namespaces, 'Telerik.Windows.Controls.GridView' and 'Telerik.Windows.Data'. Consider adjusting the assembly XmlnsDefinition attributes. C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 1 1 WPFClient
The second decleration prompts the error:
The name "FilterOperatorConverter" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView,Version=2012.3.1017.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7". C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 90 13 WPFClient
There are a few odd things about this bug.
1)At runtime everything works fine. The problem is limited to design time and the visual studio designer does not work because of this.
2)I've tried this out in an external test application and the second decleration work fine. It only happens in our project. It is not originally a .net 4 application but was upgraded from 3.5.
Thanks,
Gary
I am trying to create a cutom look for the RadGridView to suit our application theme. The templates are based on telerik default templates where you have used some converters:
FilterOperatorConverter,FilterCompositionLogicalOperatorConverter,DistinctValueConverter etc..
No matter how I declare them in a resource dictionary I get errors:
<
UserControl
x:Class
=
"WPFClient.Views.RequestSubmitView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:grid
=
"clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView,Version=2012.3.1017.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7"
>
<
telerik:FilterOperatorConverter
x:Key
=
"FilterOperatorConverter1"
/>
<
grid:FilterOperatorConverter
x:Key
=
"FilterOperatorConverter2"
/>
</
ResourceDictionary
>
The first decleration prompts the error:
Ambiguous type reference. A type named 'FilterOperatorConverter' occurs in at least two namespaces, 'Telerik.Windows.Controls.GridView' and 'Telerik.Windows.Data'. Consider adjusting the assembly XmlnsDefinition attributes. C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 1 1 WPFClient
The second decleration prompts the error:
The name "FilterOperatorConverter" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView,Version=2012.3.1017.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7". C:\dev\trunk\WPFClient\Views\RequestSubmitView.xaml 90 13 WPFClient
There are a few odd things about this bug.
1)At runtime everything works fine. The problem is limited to design time and the visual studio designer does not work because of this.
2)I've tried this out in an external test application and the second decleration work fine. It only happens in our project. It is not originally a .net 4 application but was upgraded from 3.5.
Thanks,
Gary