Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 939 posts 2574 karma points
    Jun 25, 2015 @ 13:07
    Claushingebjerg
    0

    Nupicker xml - check if currentPage Id is picked

    I'm listing a series of nodes.

    Each node has a nupicker xml checkbox list, which allows to pick a series of nodes

    I want to list the nodes which have CurrentPage selected as one of it's nupicker items.

    So If currentPage has id 1061, i want to list all nodes that have picked 1061.

    The problem is, a node can pick more than one node with the picker, so you can't just do.

    @foreach (var item in selection.Where(CurrentPage.Id = pickedNode)
    

    Any pointers?

  • 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