Copied to clipboard

Flag this post as spam?

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


  • dillorscroft 198 posts 192 karma points
    Apr 21, 2010 @ 20:13
    dillorscroft
    0

    Deleting a node not instant. Is this correct?

    I have a repeater where I am listing child nodes using the nodefactory.ChildrenAsTable() and have a delete command which successfully deletes a node.

    If I rebind the repeater immediately the deleted item is still show even if I call umbraco.library.RefreshContent().  I tried a response.redirect to the original page instead of rebinding and the item is still shown.  If I wait a few seconds and refresh the page manually the deleted item is gone.

    My question really is how long should the RefreshContent take to work?  Can I immediately rebind the nodefactory to the repeater?

    DC

     

  • dillorscroft 198 posts 192 karma points
    Apr 28, 2010 @ 12:28
    dillorscroft
    0

    This is becoming quite a problem.  I'm deleting content client side and the cache is not updating before I render the refreshed page.  Is this normal or am I doing something wrong?

  • Chris Dunn 210 posts 401 karma points
    May 05, 2010 @ 06:16
    Chris Dunn
    0

    Have you tried turning off the macro's caching by page/personalized to see if this fixes the problem?  Also check the cache period on the macro.

    Just some thoughts.

    -Chris

Please Sign in or register to post replies

Write your reply to:

Draft