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.

RefreshLayout for Diagram LayoutTypes.HierarchicalTree

Thread ID:

Created:

Updated:

Platform:

Replies:

118875 Apr 17,2015 12:28 PM Apr 22,2015 08:41 AM ASP.NET MVC 3
loading
Tags: Diagram
Ryan Obbink
Asked On April 17, 2015 12:28 PM

Trying to resolve an issue where the layout is not refreshing for a Node drag when the diagram has the Layout property set to HierarchicalTree in the Controller.  When dragging a node, the line connector does not follow and stays in its initial position.  I looked for a RefreshLayout() javascript call in your documentation I could use, but couldn't find anything recent.  Here is what I have below:

<controller.cs>
_model.Layout.Type = LayoutTypes.HierarchicalTree;
_model.Layout.Orientation = LayoutOrientations.TopToBottom;
_model.Layout.VerticalSpacing = 30;
_model.Layout.HorizontalSpacing = 30;
_model.Layout.FixedNode = "HOME";


The diagram responds correctly when the code above is commented out.



Thanks.

-Ryan Obbink

Shyam G [Syncfusion]
Replied On April 20, 2015 01:44 AM

Hi Ryan

Thanks for using Syncfusion products.

We are afraid that we are unable to reproduce the reported issue at our end. Could you please provide us more details such as dll version that you are using in your application or modify the below sample to reproduce the reported issue at our end? This will help us to verify further and provide a better solution to you.

Sample:http://www.syncfusion.com/downloads/support/forum/118875/layoutsample1956311219.zip

Please let me know if any concerns.

Regards,
Shyam G

Ryan Obbink
Replied On April 21, 2015 10:34 AM

Do you think this would be a .dll version issue or a javascript issue? We are currently getting our ducks in a row with VS 2015 for javascript and bower.  Also, with your example, are you using the latest dll's supported by Syncfusion for ASP.NET MVC?  If so, I will validate that I have the correct dll's on my side.


Thanks.


-Ryan

Shyam G [Syncfusion]
Replied On April 22, 2015 08:41 AM

Hi Ryan

Thanks for your update.

Please note that your reported issue occurs in our previous release version 12.4.0.24 and we have fixed this issue in our current release version 13.1.0.21. so only we have requested you to provide a dll version in our previous update to reproduce the reported issue at our end. However we suggest you to use the latest dll version and script file ej.web.all.min.js file of version 13.1.0.21 to resolve your reported issue.

Please let me know if any concerns.

Regards,
Shyam G

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.

;