How to draw line between parent and child nodes in TreeView using control template?

7 posts, 0 answers
  1. Alex Tang
    Alex Tang avatar
    2 posts
    Member since:
    Mar 2010

    Posted 17 Mar 2010 Link to this post

    I have built a TreeView using control template for TreeViewItem as shown in the attached image "controltemplatetreeview1.jpg".  And I want to draw line between the parent and child nodes as shown in the attached image "controltemplatetreeview2.jpg".  How to implement it?  Thanks!
  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 23 Mar 2010 Link to this post

    Hello Alex Tang,

    Unfortunately the effect you aim at can't be achieved. If you have further questions please do not hesitate to ask us.

    Greetings,
    Dimitrina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. syed
    syed avatar
    21 posts
    Member since:
    Sep 2010

    Posted 21 Dec 2010 Link to this post

    Hello,

    Is there any solution available for this kind of work. My client really needs to have the lines between the templated nodes.
    Any work around will be a great favour.


    THANKS

  5. syed
    syed avatar
    21 posts
    Member since:
    Sep 2010

    Posted 23 Dec 2010 Link to this post

    Hello All,

    I'm still waiting for the solution. Though I see the properties of LineEnabled and other but they do not work in templatedNode. 

    Looking forward anxiously,

    Thanks
  6. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 23 Dec 2010 Link to this post

    Hi Alex Tang,

    We are unable to implement the appearance from the snippet in the previous post  (from Alex Tang).
    Do you want to achieve the same visual effect?
    If you don`t, could you please try to elaborate more on how you want the TreeView to look. It would be nice if you can send us your XAML code. This way we would investigate in depth and provide you with a better advice.
    Thank you for your cooperation in advance.

    All the best,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  7. syed
    syed avatar
    21 posts
    Member since:
    Sep 2010

    Posted 24 Dec 2010 Link to this post

    Hi  Petar Mladenov 

    Thanks for your response. Attached is the work i want to do and its more or less the same as Alex one. It would be a great help if you can guide me for a way around how can i achieve this. Basically I've an Organizational chart like thing and it should be connected with Arrows. 

    Thanks once Again

    Regards,
    Usman

  8. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 28 Dec 2010 Link to this post

    Hello Alex Tang,

    Currently, this cannot be achieved using the telerik`s RadTreeView control. Basically, we are planning to develop a RadTreeMap control that will have similar visual appearance but we haven`t scheduled it yet.


    Best wishes,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner