Solved 4  TreeView Web Server Control - display hierarchical data

Posted on 2012-08-26
Last Modified: 2012-08-27

I need to display the hierchical organizational data shown below in an 4
Web Server TreeView control. I found examples at the following link but am not
sure how to adapt it to the data structure that I have below

EmployeeID      Superior_EmployeeID      Level
A100                                                                    0
B60                               A100                                             1
B85                               A100                                          1
C60                               B60                                             2
C40                               B60                                            2
C20                               B85                                           2
Question by:murbro
    LVL 96

    Expert Comment

    by:Bob Learned
    What are you stuck on with the Microsoft walk-through?

    Author Comment

    I have figured most of it out. The only thing I need is the ability to rotate the TreeView by 90 degrees so as to get the typical pyramidal hierarchical look
         |       |
    |                 |

    The control markup looks as follows. Just need to know if this is possible or not

        <asp:TreeView ID="TreeViewOrg" Runat="server" Width="98px">
    LVL 23

    Accepted Solution


    I think the pyramidal look is not possible with TreeView control!

    You may have to develop your own custom control for that!

    Hope it helps u...

    Author Closing Comment


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    This video discusses moving either the default database or any database to a new volume.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now