We are attempting to use a RadDiagram that is nested inside two usercontrols. Our solution follows something like this:
- controls project
-usercontrol
-diagram
-app project
-usercontrol
-usercontrol (from controls project)
In the usercontrol the diagram is hosted in, the xaml designer can display the usercontrol and diagram without any errors. When viewing the parent usercontrol (in the app project) in the xaml designer, we intermittently receive one of three errors:
1.
Error 51 [A]Telerik.Windows.Controls.RadListBox cannot be cast to [B]Telerik.Windows.Controls.RadListBox. Type A originates from 'Telerik.Windows.Controls, Version=2012.3.1017.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadNeither' at location 'users\...\AppData\Local\Microsoft\VisualStudio\11.0\Designer\ShadowCache\uaf4o2b1.tgx\m5d3emjg.5ms\Telerik.Windows.Controls.dll'. Type B originates from 'Telerik.Windows.Controls, Version=2012.3.1017.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Telerik\RadControls for WPF Q3 2012\Binaries\WPF45\Telerik.Windows.Controls.dll'.
2.
Telerik.Windows.DragDrop.Behaviors.DragDropState', on 'Telerik.Windows.DragDrop.Behaviors.DragDropBehavior`1[TState]' violates the constraint of type parameter 'TState'
3.
Cannot find resource file 'themes/genericwindows8touch.xaml'
The project builds and runs fine, but this issue causes problems for our designers who use the xaml designer and Blend (which reports the same errors in the designer). The first situation seems odd as we do not reference telerik controls from the install directory (C:\Program Files (x86)\Telerik\RadControls...) anywhere.
Are there any known issues with the diagram control, or possibly the listbox control and the 2012 xaml designer?
Thanks,
James
- controls project
-usercontrol
-diagram
-app project
-usercontrol
-usercontrol (from controls project)
In the usercontrol the diagram is hosted in, the xaml designer can display the usercontrol and diagram without any errors. When viewing the parent usercontrol (in the app project) in the xaml designer, we intermittently receive one of three errors:
1.
Error 51 [A]Telerik.Windows.Controls.RadListBox cannot be cast to [B]Telerik.Windows.Controls.RadListBox. Type A originates from 'Telerik.Windows.Controls, Version=2012.3.1017.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadNeither' at location 'users\...\AppData\Local\Microsoft\VisualStudio\11.0\Designer\ShadowCache\uaf4o2b1.tgx\m5d3emjg.5ms\Telerik.Windows.Controls.dll'. Type B originates from 'Telerik.Windows.Controls, Version=2012.3.1017.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadFrom' at location 'C:\Program Files (x86)\Telerik\RadControls for WPF Q3 2012\Binaries\WPF45\Telerik.Windows.Controls.dll'.
2.
Telerik.Windows.DragDrop.Behaviors.DragDropState', on 'Telerik.Windows.DragDrop.Behaviors.DragDropBehavior`1[TState]' violates the constraint of type parameter 'TState'
3.
Cannot find resource file 'themes/genericwindows8touch.xaml'
The project builds and runs fine, but this issue causes problems for our designers who use the xaml designer and Blend (which reports the same errors in the designer). The first situation seems odd as we do not reference telerik controls from the install directory (C:\Program Files (x86)\Telerik\RadControls...) anywhere.
Are there any known issues with the diagram control, or possibly the listbox control and the 2012 xaml designer?
Thanks,
James