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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Connecting nodes

Thread ID:





108973 May 23,2013 02:30 PM UTC Jun 4,2013 10:58 AM UTC ASP.NET Web Forms (Classic) 3
Tags: DiagramWebControl
Hayssam Hassan
Asked On May 23, 2013 02:30 PM UTC

i would like to know how can i connect two nodes after dropping them from the Palette on Diagram grid?
so that if i choose a node a line will appear to connect it with the other node that im choosing next.
an example will be good for me.

PS: i send you an example about my request.

Best Regards,


Amsath Ali M [Syncfusion]
Replied On May 27, 2013 12:55 PM UTC

Hi Hayssam,


Thanks for using Syncfusion products.


We suggest you to use the DiagramWebControl’s client side method ‘Activate’ to activate the drawing tools like Rectangle, Ellipse, LineConnector, OrthogonalConnector, etc.,. Please refer the below code snippet to achieve your requirement.


Here is the code:


<asp:ImageButton ID="btnDirected" runat="server" ImageUrl="~/Content/NodeImages/icons_11.png" OnClientClick="_sfDiagramWebControl1.Activate('DirectedLineConnectorTool'); return false;"/>

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

<syncfusion:DiagramWebControl ID="DiagramWebControl1" runat="server" Height="550px"

        Width="600px" />


For more information, please visit the below online UG documentation link:



Please try the below attached sample and let us know if you have any queries.



Amsath Ali. M


Hayssam Hassan
Replied On May 28, 2013 07:55 AM UTC

Hi Amsath Ali. M,
thanks for ur update, i used this solution before, but my
requirement is to draw a link that connect two nodes at run time without extra clicking a Button, the same in the Video what i have send it to you.

Best Regards,

Amsath Ali M [Syncfusion]
Replied On June 4, 2013 10:58 AM UTC

Hi Hayssam,


Thanks for your update.


Currently we don’t have support to draw a link that connects two nodes at run time without clicking a button. This has been suspected to be a feature. Please create a DT incident for your query so that we can update the patch for this feature.

You can create the DT incident from the following link.

In the interests of maintaining confidentiality, we have a policy of not sharing patches or otherwise proprietary customer specific information in the public Forum.


Please let us know if you have any queries.



Amsath Ali. M


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon