I have a large dataset of employees.
I want to load one node initially and all other node collapsed and load other node on demand.
But this control is loading complete data on page load which is making it slow.
is there any way to rebind the org chart on expand and bind all child nodes?
Did you have the chance to check the Load On Demand online demo which represents the scenario you are looking to achieve?
If you have many records, you can use some of the functionalities of the OrgChart such as Grouping, DrillDown, Load On Demand, etc. For more information, I would suggest reviewing the functionality of our online demos and
Thanks for the reply...!
I have tried everything OrgChart control is binding all the nodes every time and firing NodeDataBound event for all nodes.
Like in case of "Load On Demand" initially only one node is visible but in background it is loading all the nodes which is making it very slow.
I want some solution where it bind the only nodes which are visible.
Do you have any sample or solution for my case?
I have tried everything OrgChart control is binding all the nodes every time and firing NodeDataBound event for all nodes. - that is true even when the Load On Demand feature is enabled, this is how the component behaves by design.
For the best performance, we recommend the WebService LoadOnDemand binding:
You can also check this forum thread - RadOrgChart Performance, Grouping and Search.
I have checked the given thread. So, there is no solution given in that thread also. That user has tried web service approach also but there was no improvement.
I believe this control is not created for large datasets because there is no partial data binding or rebinding on specific events.
So, We need to think about other alternates.
Thanks for the response.