I'm trying to render some nodes with custom properties using the code below, but it throws an error, if I remove the custom properties it works ok.
var searchString = "SubPage";
var rootNode = uQuery.GetRootNode();
var foundNodes = rootNode.GetDescendantNodes().Where(x => x.NodeTypeAlias == searchString).ToList();
gridLocal.DataSource = foundNodes;
gridLocal.DataBind();
A custom property would be "Holiday Travel Dates", the alias would be "holidayTravelDates". I tried holidayTravelDates also but it still didn't find it.
Gridview problem
I'm trying to render some nodes with custom properties using the code below, but it throws an error, if I remove the custom properties it works ok.
A custom property would be "Holiday Travel Dates", the alias would be "holidayTravelDates". I tried holidayTravelDates also but it still didn't find it.
Thanks
is working on a reply...