Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Oct 03, 2011 @ 13:11
    Marc Love (uSkinned.net)
    0

    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

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Oct 03, 2011 @ 14:38
    Jeroen Breuer
    0

    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

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Oct 04, 2011 @ 11:43
    Marc Love (uSkinned.net)
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft