Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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

Hi

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

http://msdn.microsoft.com/en-us/library/7a9swst5(v=vs.100)


EmployeeID      Superior_EmployeeID      Level
A100                                                                    0
B60                               A100                                             1
B85                               A100                                          1
C60                               B60                                             2
C40                               B60                                            2
C20                               B85                                           2
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

What are you stuck on with the Microsoft walk-through?
Avatar of Murray Brown

ASKER

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">
    </asp:TreeView>
ASKER CERTIFIED SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks