|
Hi to all, I want to make an application which deals with the relationships in different stages...So I want show the relations like Family tree . EX : A / \ X \ / \ B C - -E / | \ / \ D E F G H
So Do develope like this wat I have to do like this ...
Thanks in advance...
Regards Chandu
|
| chandu203 Thursday, May 01, 2008 2:31 PM |
Hi Chandu203,
It would be better if you provide more introduction on what will the program look like.
Any detailed information will be highly appreciated.
I'll wait right here for your follow-up.
Thanks.
Best wishes,
Jun Wang
|
| Jun Wang Tim Wednesday, May 07, 2008 7:22 AM |
Hi Jun Wang, Im realy sorry for my delayed answer.What I want exactly is ,I want to show family tree with images. I want to develop this as desktop application.It is easy to develop as web application using java script.But I want as desktop application. Example for ,What I have in my mind is ...
http://www.genery.com/altree/images/diana_big.gif
Still now I'm unable to make a step forward. Plz Do favour for me
Best Wishes Chandu
|
| chandu203 Thursday, May 22, 2008 8:38 AM |
Hi Chandu203,
OK. I’m closer to your final requirement now.
However, could you explain the functionality of this application more accurate please?
I mean, do you want to make each tree node acts like a control that can handle event? If so, what kind of job do you want these images do?
Finally, what do you want this application to do?
More detailed information about application is appreciated.
Thanks.
Best wishes,
Jun Wang
|
| Jun Wang Tim Thursday, May 22, 2008 2:52 PM |
Hi Jun Wang
Thanks for u r replay.The main aim of this is to maintain family tree. I want to make each node acts as a contol to handle events ...in clear it must handle context menu events to add child,add wifes ...etc.On double click on the image it shows the details in the lefthand side panel.
Hope you understand my requirement and suggest me
Thanks
Best wishes chandu
|
| chandu203 Friday, May 23, 2008 9:17 AM |
I am looking for similar thing in ASP.NET application. I am planning to display our org hierarchy in a web page
|
| Raghu Maiya Wednesday, May 28, 2008 5:04 PM |
Hi Raghu Maiya
I can help you in asp.net .For simple Horizontal Tree view in web page....go for the below link
http://www.codeproject.com/KB/scripting/Horizontal_JS_Tree.aspx
For selection,graphical interface in same
http://www.codeproject.com/KB/scripting/graphic_javascript_tree.aspx
For context menu in treeview
you go for
http://www.codeproject.com/KB/applications/xtreeview.aspx.
From all the links above you can understand that its purly java script based.
Regards
Chandu Bommithi
|
| chandu203 Thursday, May 29, 2008 6:35 AM |
Any body is there to help me
|
| chandu203 Thursday, June 05, 2008 10:44 AM |
Hi,
if nay solution u get then plz tel me m in vary hury.
wating yr responce
...............thanks |
| Rajeev Singh GIPL Thursday, May 21, 2009 1:16 PM |
Hi chandu203......Currently I am facing the same problem which you have faced........I am working on a project in which I have to show a tree just like a multilevel collection system (ex. - AMWAY). I think that In this we have to show only 3-5 levels at a time if a child is selected than the child will be on the top of the tree. And besides this we have to use a tree view of window based application so that if anyone want to go up in the tree he could do so as selecting the node from tree view.............The required tree view can be generated by using buttons creating at runtime........ When I will complete my work then I will tell you the exact solution.
|
| MorendMore Monday, August 31, 2009 1:24 PM |
This is a complex project, but if you (or anybody) is willing to pursue it, here is how I would approach it:
- Create a Control Library project.
- Add a new class that derives from Component. Call this one Node.
- Add a new class that derives from ScrollableControl. Calls this one TwoDTreeView or whatever else.
- The TwoDTreeView class must maintain a collection of Root objects. Root objects would be of type Component. This allows the control to have multiple starting objects on top, as the original screenshot from chandu203 suggests.
- Add a new class that derives from Component. Call this one Relation. This one represents a connecting line.
- Every Node should be able to contain a collection of Relation objects.
- Every Relation object should have two properties of type Node, each pointing towards each of the nodes it connects.
- Override the OnPaint of TwoDTreeView to draw the current state of the control, taking into account the value of the scrollbars, if any.
That list is just a very general one and surely doesn't cover for all of the details, and it may even need revising. It is an initial list of what I think is necessary and what I think I would do if this were my project.
MCP |
| webJose Friday, September 04, 2009 2:51 PM |