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

RefreshLayout for Diagram LayoutTypes.HierarchicalTree

Thread ID:





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

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:

_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.


-Ryan Obbink

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

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.


Please let me know if any concerns.

Shyam G

Ryan Obbink
Replied On April 21, 2015 02:34 PM UTC

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.



Shyam G [Syncfusion]
Replied On April 22, 2015 12:41 PM UTC

Hi Ryan

Thanks for your update.

Please note that your reported issue occurs in our previous release version and we have fixed this issue in our current release version 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 to resolve your reported issue.

Please let me know if any concerns.

Shyam G


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