How to use RadDiagramNavigationPane?

4 posts, 0 answers
  1. Jason
    Jason avatar
    2 posts
    Member since:
    Dec 2012

    Posted 26 Dec 2012 Link to this post

    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, 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!
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 27 Dec 2012 Link to this post

    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.

    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Dobrin
    Dobrin avatar
    1 posts
    Member since:
    Apr 2013

    Posted 29 May 2013 Link to this post

    Any Idea how I can bind RadDiagramNavigationPane in code behind to dynamically created diagram.
  4. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 03 Jun 2013 Link to this post

    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.

    Pavel R. Pavlov

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top