Copied to clipboard

Flag this post as spam?

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


  • Samuel Hamer 44 posts 66 karma points
    Apr 04, 2011 @ 10:54
    Samuel Hamer
    0

    Reloading parent node in tree without having to reload the whole tree

    I have an event handler as part of Calendar functionality that moves an event to a certain directory according to its date.  This is working correctly but I have had some complaints from admins about how the content tree reloads after event creation.

    Has anyone found a way of reloading just the current section in the content tree using the API without having to use umbraco.library.RefreshContent(); on the wole library?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 04, 2011 @ 14:21
    Tom Fulton
    0

    Hi Samuel,

    You can try using SyncTree:

    umbraco.BasePages.BasePage.Current.ClientTools.SyncTree(doc.Parent.Path, true);

    Hope this helps,
    Tom

  • Laurent Lequenne 122 posts 247 karma points
    Apr 04, 2011 @ 16:18
    Laurent Lequenne
    0

    It helps me :-)

  • Samuel Hamer 44 posts 66 karma points
    May 11, 2011 @ 10:43
    Samuel Hamer
    0

    sorted :)

Please Sign in or register to post replies

Write your reply to:

Draft