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

Link - Select, but no move

Thread ID:





69142 Oct 16,2007 03:24 PM UTC Oct 25,2007 08:14 PM UTC ASP.NET Web Forms (Classic) 1
Tags: DiagramWebControl
Peter Swallow
Asked On October 16, 2007 03:24 PM UTC

I have a DiagramWebControl with two nodes connected by one link.

I want the User to be able to do the following:

- Select a Node
- Move a Node (which will redraw the connected link)
- Select a Link
- Do not allow a User to move or drag the link on its own.

I can do everything apart from the last one and when I set Link.LineStyle.AllowMove = false, the code says this is a deprecated function, but I cannot find anything else which is similar.

Nandakumar R [Syncfusion]
Replied On October 25, 2007 08:14 PM UTC

Hi Peter,

I regret for the delay in getting back to you on this issue.

'The cancellation of the connector movement using the AllowMove property is failing' is suspected to be a defect and we have notified our development team on this regard. We will update you once we hear back from them. This can be achieved on other way as shown here.


this.DiagramWebControl1.Model.EventSink.PinPointChanging += new PinPointChangingEventHandler(EventSink_PinPointChanging);

void EventSink_PinPointChanging(PinPointChangingEventArgs evtArgs)
LineConnector con = evtArgs.NodeAffected as LineConnector;
if (con is LineConnector)
evtArgs.Cancel = true;


Please try this and let me know if this helps.



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

This page will automatically be redirected to the 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