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.

Not able to position the nodes on the Diagram control

Thread ID:

Created:

Updated:

Platform:

Replies:

101781 Nov 21,2011 09:53 AM Nov 25,2011 06:10 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Satish kumar
Asked On November 21, 2011 09:53 AM

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 06:10 AM

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.

Details:
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.
Regards,
Ramya




NodePosition_a9a45e63.zip

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.

;