Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How do you select nodes where the NodeTypeAlias ends with Page?
I'm looking for something like this
var items = node.Children.Where("Visible").Where(NodeTypeAlias.EndsWith("Page"))
Hi.
var items = node.Children.Where("Visible && NodeTypeAlias.EndsWith(\"Page\")");
or you can use parameterised syntax when it's more suitable:
var items = Model.Children.Where("Visible && NodeTypeAlias.EndsWith(@0)", "Page");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Select where NodeTypeAlias ends with "Page"
How do you select nodes where the NodeTypeAlias ends with Page?
I'm looking for something like this
Hi.
or you can use parameterised syntax when it's more suitable:
is working on a reply...