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

How to use RadDiagramNavigationPane?

3 Answers 213 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 27 Dec 2012, 01:33 AM
hi~~
i 've already read the help documents for RadDiagramNavigation, but when i follow the steps in the documents, my vs2010 compiler told me that "can not find RadDiagramNavigationPane in XML namespace http://schemas.telerik.com/2008/xaml/presentation, and also can not find <telerik:RadDiagramNavigationPane>, i 've already add the referencies such as
  • Telerik.Windows.Controls.Diagrams

  • Telerik.Windows.Diagrams.Core

  • Telerik.Windows.Controls.Diagrams.Extensions

  • Telerik.Windows.Controls

  • Telerik.Windows.Controls.Navigation

  • Telerik.Windows.Controls.Input

  • Telerik.Windows.Data


is there any thing wrong? how can i use RadDiagramNavigationPane? and the same error occurs when i try to use RadDiagramContainerShape too......

i just want to make an app looks like the Demo project OrgChart, but the demo depends on too much other demos and the QuickStartFramework, is there any simply using RadDiagramNavigationPane.

by the way, where is the telerik windows8 theme? in my telerik directory there are ExpressDark, Metro, OfficeBlue,...etc,but with out the theme Windows8 need for your OnlineDocuments tutorial ...

i am using Q2 2012

Thanks a lot!

3 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 27 Dec 2012, 02:07 PM
Hello Jason,

As far as I understand you have two issues - you cannot use the RadDiagramNavigationPane control and you can not find the Windows 8 theme.

I have noticed that you are using the 2012 Q2 dlls. But during this particular release we were still developing the RadDiagramNavigationPane and the Windows 8 theme hence they are not included in it.

Please upgrade your dlls and see if the issue is still reproducing.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Dobrin
Top achievements
Rank 1
answered on 29 May 2013, 05:04 PM
Any Idea how I can bind RadDiagramNavigationPane in code behind to dynamically created diagram.
Thanks
Dobrin
0
Pavel R. Pavlov
Telerik team
answered on 03 Jun 2013, 12:01 PM
Hello Dobrin,

Can you please clarify why you need to use binding to set a property of an element that is created in code, while you can directly set the value of that property. The Binding is used in XAML because there is way to say something like:

this.navigationPane.Diagram = this.diagram;

On the other hand, in order to use ElementName binding in code you have to use the x:Name property of the diagram (which can not be set in code and it is differs from the Name property), hence if you need to use this approach you will have to create the RadDiagram in XAML and set its x:Name before binding in code.

For your convenience I implemented both approaches in the attached project. Please take a look at them and let us know if you need any further assistance.

Regards,
Pavel R. Pavlov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Jason
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Dobrin
Top achievements
Rank 1
Share this question
or