Essential Diagram ASP.NET
Diagram resize
December 14, 2011 11:05 PM by Amsath Ali M[Syncfusion]
Truman Lackey
Diagram resize
December 8, 2011 03:14 PM
How do I resize the diagram and scrollbars if BoundaryContraints are off and a node is dragged outside of the current boundaries in any direction?

Amsath Ali M
[Syncfusion]
Diagram resize
December 13, 2011 08:24 AM
Hi Truman,

Thanks for your interest in Syncfusion products.

We suggest you to set the Diagram.Model’s ‘SizeToContent’ property to ‘true’ to achieve your requirement. Please refer the below code snippet.

Here is the code:
[C#]
//Indicates whether Model will be sized to its content, but not less than MinimumSize
diagram1.Model.SizeToContent = true;

Here is the Sample:
ForumSizeToContent2127102533.zip

Please try the above sample and let us know if you have any queries.

Regards,
Amsath Ali. M



Truman Lackey
Diagram resize
December 13, 2011 06:32 PM
I also set

DiagramWebControl1.Style.Add("overflow", "auto");

to get this working.

Amsath Ali M
[Syncfusion]
Diagram resize
December 14, 2011 11:05 PM
Hi Truman,

Thanks for the update.

We are happy to hear that the issue has been resolved.
Please let us know if you require any further assistance.

Regards,
Amsath Ali. M


::adCenter::