Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to create tree like structure on asp.net web page

Posted on 2008-11-02
3
Medium Priority
?
619 Views
Last Modified: 2012-06-27
I am working in asp.net web site in C# 2005
in this i want to show a tree like structures for all the department who linked to different people on a web page.

now the structure should like SQL Server Data diagram.  In which table comes in Rectangles boxes and relation with other tables comes with a line.

Please give me some ideas how can i do this on a web page. (third party tool should be the last option for this)

0
Comment
Question by:ziorrinfotech
  • 2
3 Comments
 
LVL 3

Expert Comment

by:AswinKrishnan
ID: 22865042
why dont you try using the default Asp.Net Tree Control ?

More Info :

http://msdn.microsoft.com/en-us/library/d4fz6xk2(VS.80).aspx
http://www.15seconds.com/issue/041117.htm

0
 

Author Comment

by:ziorrinfotech
ID: 22865300
Hi AswinKrishnan

Thanks for your reply
Actually my requirement is to make the tree like stucutre exactly same as it is in SQL DATA daiagram view.
where you can move each table then the relationship lines grow or shrinks as well.

and i donot think so that normal tree view contol can give all this. Right?
0
 
LVL 3

Accepted Solution

by:
AswinKrishnan earned 250 total points
ID: 22865684

For that i dont think you can use tree view or extend the tree view control, i think you should try a flowchart control,
i did a quick google and i was able to find a c++ tutorial and a .net shareware control

Please go through these (hope it helps)

http://www.codeproject.com/KB/miscctrl/flowcharteditor.aspx
http://mindfusion.eu/flowchart-net.html
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

916 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