Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Modify node text programmatically based on nodeID (Read 2213 times)
Shah
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Jan 4th, 2016
Modify node text programmatically based on nodeID
Aug 4th, 2016 at 1:06am
Print Post  
Hi,

How to modify node text programmatically based on specified node id for node that already define the text.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Modify node text programmatically based on nodeID
Reply #1 - Aug 4th, 2016 at 6:39am
Print Post  
Hi,

If you need to do that on server side -

Code
Select All
var node = diagram.FindNodeById(id) as ShapeNode;
if (node != null)
    node.Text = "new text"; 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Shah
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Jan 4th, 2016
Re: Modify node text programmatically based on nodeID
Reply #2 - Aug 9th, 2016 at 3:56am
Print Post  
Thanks for the info Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint