I'm trying to figure out how to get the OrgChart to work with a large .NET dataset but I'm not having much luck.
If I just bind the dataset using .DataSource it takes over a minute to draw the nodes and the page is less than responsive. That's no good.
I tried setting the property LoadOnDemand="Nodes" but that doesn't seem to do anything. All the nodes are rendered.
I can limit the number of levels on the initial rendering using the MaxDataBindDepth property. That works great but I don't see + signs on nodes that have children so I can't expand the tree as I would expect.
The Load on Demand demo looks like it would provide functionality that I want but it is setup to do grouping which I don't want. Is there an example somewhere of a straight forward bind to a .NET dataset (or datatable) with LoadOnDemand that only loads 2 or 3 levels then allows you to click on the + on each node that has children to further expand the tree?
If I just bind the dataset using .DataSource it takes over a minute to draw the nodes and the page is less than responsive. That's no good.
I tried setting the property LoadOnDemand="Nodes" but that doesn't seem to do anything. All the nodes are rendered.
I can limit the number of levels on the initial rendering using the MaxDataBindDepth property. That works great but I don't see + signs on nodes that have children so I can't expand the tree as I would expect.
The Load on Demand demo looks like it would provide functionality that I want but it is setup to do grouping which I don't want. Is there an example somewhere of a straight forward bind to a .NET dataset (or datatable) with LoadOnDemand that only loads 2 or 3 levels then allows you to click on the + on each node that has children to further expand the tree?