Umbraco Razor List Nodes Where Statement
if ( Model.NodeById ( 1066 ) . Children.Where ( "relatedTo == \"Stage\"" ) . Any ( ) ) In this snippet "relatedTo" is a property in Umbraco, "Stage" is what the property has been ticked with.
This is just a place for me to keep Umbraco code snippets: If you find any of them useful, that is great. http://www.markdevelopment.co.uk