protected void DisableParentNodeSelection()
    {
        // Iterates through all nodes and prevents the display of selection check boxes within parent nodes
        TreeListNodeIterator iterator = ASPxTreeList1.CreateNodeIterator();
        TreeListNode         node     = iterator.GetNext();

        while (node != null)
        {
            node.AllowSelect = !node.HasChildren;
            node             = iterator.GetNext();
        }
    }