Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node and links to self (Read 1355 times)
donalmeida
Junior Member
**
Offline


Yay...

Posts: 65
Joined: Oct 6th, 2009
Node and links to self
May 7th, 2010 at 3:35pm
Print Post  
How do we restrict links going back to the same node? we would like to disable this feature as in our workflows we do this differently.
  

Don Almeida.
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node and links to self
Reply #1 - May 7th, 2010 at 3:49pm
Print Post  
You can do that by handling LinkCreating:

Code
Select All
private void OnLinkCreating(object sender, LinkValidationEventArgs e)
{
	if (e.Origin == e.Destination)
		e.Cancel = true;
} 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
donalmeida
Junior Member
**
Offline


Yay...

Posts: 65
Joined: Oct 6th, 2009
Re: Node and links to self
Reply #2 - May 7th, 2010 at 5:23pm
Print Post  
Dang! that was simple..  Cheesy thanks
  

Don Almeida.
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint