foreach(var item in radTreeView.CheckedItems)
{
if (item is RadTreeViewItem)
{
RadTreeViewItem rtv = item as RadTreeViewItem; if (rtv.ParentItem == null && rtv.childItem==null)
{
foreach (RadTreeViewItem subItem in rtv.Items)
i++;
}
}
I write the code above, but rtv.childItem is wrong...
1 Answer, 1 is accepted
0
Petar Mladenov
Telerik team
answered on 12 Jul 2012, 11:48 AM
Hi PEIYANG,
I hope the information in the other forum thread will help you proceed further. If not, we would highly appreciate if you can elaborate on your exact requirements. This way we would be better able to advice you.
Greetings,
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>