We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

New to Diagram - need help

Thread ID:

Created:

Updated:

Platform:

Replies:

91148 Nov 5,2009 03:53 PM Nov 17,2009 09:06 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Robert Avery
Asked On November 5, 2009 03:53 PM

I've been trying to play with the Diagram control to build programmatically something that appears like the attachment.

I have a database of parent-child relationships, and I am going to want to include text inside the boxes representing people with attributes like Age, etc. I also have a comment that needs to be displayed along-side the connector (the "Born m/d/yyyy" in the sample JPEG [it didn't accept JPEGs, so I had to zip it before I attached it]).

Is there an easy to way to give a dataset with these fields to the Diagram control and have it build something like this?

The one other issue is that i will want to display multiple families at the same time.

How do I do this? The samples in the samples folder don't seem to answer my question. Thanks in advance!



sample_3ba6eff0.zip

Dinesh M [Syncfusion]
Replied On November 17, 2009 09:06 AM

Hi Robert,

Sorry for the inadvertent delay in getting back to you.

Currently we do not have support in Diagram control for populating nodes from the datatable provided and hence we need to create nodes manually from the values of datatable. You can use the DirectedTree LayoutManager(Category: Automatic Layout) to position your nodes automatically and it also does this layouting for the multiple families that you have created. For further information on creating a node and adding label to it please go through the online document in the link provided below.

http://help.syncfusion.com/ug_74/diagramwin/default.html

To Create Nodes and links:
http://help.syncfusion.com/ug_74/diagramwin/ThroughCode.html

Regards,
Dinesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;