Hi ,
I was tring to select TreeListDataItem dynamically using the following code.
foreach (TreeListDataItem item in RadTreeList1.Items)
{
if (value != null && value.Count > 0)
{
foreach (Facility facility in value.Facility)
{
if (item["Key"].Text == facility.Key)
{
item.Selected = true;
break;
}
}
}
}
However what I found that the only the parent items can be selected.
I am not able to select any of the child or sub child items.
Please advice what the best way to select any child items if they need to be selected.
Thanks in advance.
I was tring to select TreeListDataItem dynamically using the following code.
foreach (TreeListDataItem item in RadTreeList1.Items)
{
if (value != null && value.Count > 0)
{
foreach (Facility facility in value.Facility)
{
if (item["Key"].Text == facility.Key)
{
item.Selected = true;
break;
}
}
}
}
However what I found that the only the parent items can be selected.
I am not able to select any of the child or sub child items.
Please advice what the best way to select any child items if they need to be selected.
Thanks in advance.