Copied to clipboard

Flag this post as spam?

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


  • Amigo 245 posts 600 karma points
    May 15, 2013 @ 01:33
    Amigo
    0

    DynamicNodeList

    In version 4.7 the followering line worked fine, but in version 6 it gives an null reference error.
    Can someone tell me why?

    DynamicNodeList _nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");

  • Charles Afford 1163 posts 1709 karma points
    May 15, 2013 @ 22:10
    Charles Afford
    0

    That looks fine to me:

    DynamicNodeList  nodes = Model.AncestorOrSelf("NewsFolder").Descendants("NewsItem");

    Someone else might be able to shed light on wether its a version 6.0 + thing. but i dont think this would be an issue.  Are all the document types and nodes correct?

  • 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