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.

How to change the node text in Flow Chart diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

98249 Feb 16,2011 09:39 AM Feb 17,2011 07:23 AM ASP.NET Web Forms (Classic) 2
loading
Tags: DiagramWebControl
Raja
Asked On February 16, 2011 09:39 AM

Hi,
As per my requirement, i have to change the flow chart diagram node's text(Please refer the attached screenshot).
Eg.: Now the node text is Process, how can change this Process text? Please let me know.

Thanks in advance.



How to change node text_98f2eb59.rar

Raja
Replied On February 17, 2011 02:23 AM

Hi,

I should change the node's text programmatically, not directly from .edp files.

Eg.: One flow chart will have more than one decision nodes each node's text will be different. How do i create nodes dynamically based on my data? How to set the each node's(all nodes will have diffent text) text?


Thanks in advance.


Bala Murugan A.S [Syncfusion]
Replied On February 17, 2011 07:23 AM

Hi Raja,

Thanks for the update.

The TextNode has the property called Text by using this property you can change the node text. Please refer the below code snippet to achieve this.
[C#]
TextNode txtNode = new TextNode("Process");
txtNode.Text = "Process1";


Kindly try the above and let me know if this helps.

Regards,
Bala Murugan A.S


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.

;