What is the simplest way to determine if child nodes of a certain type exist for a document in code-behind?
For example, if a document has cms.files as direct children, I want to display a certain control. Basically:
myPanel.Visible = true;
myPanel.Visible = false;
Does that make sense?