I need to get the number of child nodes of a treelist node.
But the instruction item.ChildItems.Count is always zero.
What I am doing wrong.
protected
void
RadTreeList1_ItemDataBound(
object
sender, TreeListItemDataBoundEventArgs e)
{
if
(e.Item
is
TreeListDataItem)
{
TreeListDataItem item = e.Item
as
TreeListDataItem;
int
numberOfChilds = item.ChildItems.Count;
....