I have created a custom usercontrol that uses ChildrenAsTable to populate a DataTable. The DataTable is getting populated with 47 child nodes and takes approximately 10 seconds to complete the task.
Does anyone know if this is a common problem with ChildrenAsTable and if so do you know of any ways of making this more effiicient?
Definitely an annoying problem. I have added an ajax loader so that the page loads first and the slow part that uses ChildrenAsTable is loaded seperately. It is looking to me that ChildrenAsTable just isnt very efficient. I was wondering if anyone else out there has used this method with very large lists. I am wondering if this is just something I should avoid in the future. The reason I am using this method is to create a DataTable that I can then search against from user entered search selections from a search form.
Slow loading ChildrenAsTable
I have created a custom usercontrol that uses ChildrenAsTable to populate a DataTable. The DataTable is getting populated with 47 child nodes and takes approximately 10 seconds to complete the task.
Does anyone know if this is a common problem with ChildrenAsTable and if so do you know of any ways of making this more effiicient?
Cheers,
Marc
I don't know why it would be slow. You could try these samples and see if it's still slow: http://our.umbraco.org/wiki/reference/code-snippets/databind-node-children.
Jeroen
Hi Jeroen,
Definitely an annoying problem. I have added an ajax loader so that the page loads first and the slow part that uses ChildrenAsTable is loaded seperately. It is looking to me that ChildrenAsTable just isnt very efficient. I was wondering if anyone else out there has used this method with very large lists. I am wondering if this is just something I should avoid in the future. The reason I am using this method is to create a DataTable that I can then search against from user entered search selections from a search form.
Marc
is working on a reply...