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
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?
Rumen
Telerik team
commented on 02 Jun 2023, 03:28 PM
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:
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.
Did you have the chance to check the Load On Demand online demo which represents the scenario you are looking to achieve?
https://demos.telerik.com/aspnet-ajax/orgchart/examples/loadondemand/defaultcs.aspx
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:
https://docs.telerik.com/devtools/aspnet-ajax/controls/orgchart/data-binding/web-service-binding
https://demos.telerik.com/aspnet-ajax/orgchart/examples/populatingwithdata/webservicebinding/defaultcs.aspx
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.