Essential Diagram ASP.NET
Not able to position the nodes on the Diagram control
November 25, 2011 06:10 AM by Ramya Thirugnanam[Syncfusion]
Satish kumar
Not able to position the nodes on the Diagram control
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]
Not able to position the nodes on the Diagram control
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
::adCenter::