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) 349 posts 946 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 4861 posts 12138 karma points MVP 3x 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) 349 posts 946 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies