Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Mar 15, 2016 @ 12:37
    Pete
    0

    Search for match in checkbox list

    How would you search for matching selected items in a checkboxlist?

    var root = umbracoHelper.TypedContentAtRoot().First().Descendants("teamPage").First();
        var staff = root.Children.Where("staffSector.ToLower().Contains(@sectorname)").ToList();
    

    This doesn't seem to do it.

Please Sign in or register to post replies

Write your reply to:

Draft