This is a migrated thread and some comments may be shown as answers.

Nodes property in radtreeview control is not visible

1 Answer 44 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Arshad
Top achievements
Rank 1
Arshad asked on 03 May 2016, 12:30 PM

I am trying to add nodes for a radtreeview from vb. But the property nodes is not getting visibled for radtreeview.

I referred this tutorial to add but when ever i tried to call this Nodes property RadTreeView1.Nodes  its throwing an error as  'Nodes' is not a member of 'Telerik.Windows.Controls.RadTreeView'. 

 Why does it showing like this and whats the workaround for this ..??/

 

 

 

Thanks 

Arshad

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 04 May 2016, 11:32 AM
Hello Arshad,

The referred tutorial is for the WinForms TreeView control. RadTreeView for WPF doesn't have Nodes collection. Instead, you can use its Items property. You can check the following resources for more information:
Regards,
Martin
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Gennady
Top achievements
Rank 2
commented on 16 Mar 2022, 09:18 PM

Hello, Martin,

i'm getting empty tree view in the windows (sample from Getting Started help)

Did insert second "standard" TreeView and it is appearing fine.

What i'm missing to view RadTreeView items?

 

<telerik:RadTreeView> <telerik:RadTreeView.Items> <telerik:RadTreeViewItem Header="Football" /> <telerik:RadTreeViewItem Header="Tennis" /> <telerik:RadTreeViewItem Header="Cycling" /> <telerik:RadTreeViewItem Header="Basketball" /> </telerik:RadTreeView.Items> </telerik:RadTreeView

 

Thank you,

Gennady

Martin Ivanov
Telerik team
commented on 16 Mar 2022, 10:01 PM

I would recommend you to check the Missing Controls in the UI help article.
Gennady
Top achievements
Rank 2
commented on 17 Mar 2022, 01:54 PM

Martin recommended very helpful article.

I would add his link to the top of Get Started Help page for future readers.

Tags
TreeView
Asked by
Arshad
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or