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

Adding Nodes design time not allow adding children nodes

1 Answer 52 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Gourangi
Top achievements
Rank 1
Gourangi asked on 14 Apr 2009, 05:11 AM
Hi,

I am using RAD Winforms Control Q1 2009. I have not installed the setup but using those dlls. I have added them in my toolbox and drag drop treeview control on my form.

First problem I have faced it the treeview control is not getting added on my form instead it was added as component (just like if we add timer, it not displayed on form but at the bottom like components)
I have to write manual code in .designer file and I had written like this.controls.add(this.radtreeview1);

Second thing I have faced it I was trying to add child nodes from designer. I could add root nodes but how can I add their children nodes. I could not find childnodes property in root nodes.
I have even edited .designer file and it works.

Am I missing something or I have to install the setup.

Thanks & Regards,
Divyesh Chapaneri

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 14 Apr 2009, 07:18 AM
Hello Divyesh Chapaneri,

Thank you for writing.

To address the first issue you need to add a reference to the Telerik.WinControls.UI.Design.dll.
To address the second issue you need to open the Property Builder from the smart tag of the RadTreeView and on the upper left portion of it, you will see a strip of buttons. The second button from left to right is the one you are looking for. Note that first you have to select a node in order to add children to it.

Please write back if you need further assistance.

All the best,
Victor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Treeview
Asked by
Gourangi
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or