Is it possible to do something like this (pseudocode):
if (Document.DocumentType.Alias == "Mainpage")
{
- show control 1
- show control 2
} else
{
- show control 3
- show control 4
}
Currently I do a lot of
if (!string.IsNotNullOrEmpty(node.getProperty("propertyid").Value)
or
if (DropDownListTest.Item.Count > 0) etc.
and thats not very nice
Best Regards
Simon
Simm.dk - My base on the web - proud Umbracian since 2.0 Beta