It is quite odd, but I could not get exact answer on this one... But I really want to solve this one.
In C#.net code here, I am accessing node. I wanted to check a doctype of its' children, take a look at here:
protected void Page_Load(object sender, EventArgs e)
{
// Current page node
var node = Node.GetCurrent();
BulletedList listGroups = new BulletedList();
foreach (Node n in node.Children)
{
//1) If node doctype is = "specialNode"
// Do "specialNode" code...
}
}
node doctype in .net
Hej Guys,
It is quite odd, but I could not get exact answer on this one... But I really want to solve this one.
In C#.net code here, I am accessing node. I wanted to check a doctype of its' children, take a look at here:
Any suggestions? :)
Dmitrij
NodeTypeAlias is the property that you'll want to use. Autocomplete will save you most of the time.
Hej Diuglas,
This is great :) thanks for help ;)
Dmitrij
is working on a reply...