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

Not able to position the nodes on the Diagram control

Thread ID:





101781 Nov 21,2011 02:53 PM UTC Nov 25,2011 11:10 AM UTC ASP.NET Web Forms (Classic) 1
Tags: DiagramWebControl
Satish kumar
Asked On November 21, 2011 02:53 PM UTC

Though I set the postion of the Nodes using OffSetX and OffSetY, the nodes are always placed at the (0,0) position. What could be the cause for that?

Ramya Thirugnanam [Syncfusion]
Replied On November 25, 2011 11:10 AM UTC

Hi Satish,

With regards to Not able to position the nodes on the Diagram control, we are unable to reproduce the issue. When Node’s OffsetX and OffsetY is changed at runtime(Dynamically) in the code behind, please call the InvalidateMeasure and InvalidateArrange Method of the DiagramPage after specifying the Offsetx and OffsetY. We have created a simple sample to represent this. Please refer to the attachment.

In that sample, the click made on the button updates the position of the Selected Node with values provided in the TextBox.

For more details about the Node’s position, please refer to the online help documentation.

Link: http://help.syncfusion.com/ug_94/User%20Interface/WPF/Diagram/index.htm and navigate to the Concepts and Features > Nodes-> Node Position

If the above solution does not meets your requirement please give my more details with a simple sample, so that we will provide necessary details.

Please let us know if you have any concerns.



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