ASP.net 4  TreeView Web Server Control - display hierarchical data

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

I need to display the hierchical organizational data shown below in an ASP.net 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:Murray Brown
  • 2
LVL 96

Expert Comment

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

Author Comment

by:Murray Brown
ID: 38337322
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

Roopesh Reddy earned 2000 total points
ID: 38337729

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

by:Murray Brown
ID: 38337914

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Screencast - Getting to Know the Pipeline
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

839 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