I'm adding items to a treeview programmatically and have set the tag property to a unique value. How can I loop the items and when I come to my value select the item and then exit the loop. I'm using
For Each item As RadTreeViewItem In RadTreeView1.Items
If CInt(item.Tag) = 3 Then
item.IsSelected =
True
Exit For
End If
Next
However I need to get the child items to the first treeview item
Thanks