Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 936 posts 2571 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?

Please Sign in or register to post replies

Write your reply to:

Draft