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

Adding Node as Control Textbox

3 Answers 143 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
New2UI
Top achievements
Rank 1
New2UI asked on 17 May 2007, 06:07 PM
How can you add a textbox in a node? Do you have a sample code? I am using Q1 2007 for WinForms. Also, can you add multiple Textbox on it?

3 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 18 May 2007, 02:47 PM
Hi Nemesio,

In the Q1 2007 release you can not add a textbox to a node, but you can use the in-place editing feature of RadTreeView.

In the recent Q1 2007 SP1 release you can add a text box to a node as follows:
 
this.radTreeView1.Nodes[0].Nodes[1].HostedControl = new TextBox(); 


Best wishes,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
New2UI
Top achievements
Rank 1
answered on 18 May 2007, 03:03 PM
There is no HostedControl property supported with this version. It has  HostedItem.
0
Boyko Markov
Telerik team
answered on 18 May 2007, 03:40 PM
Could you please send us information on your RadControls for WinForms version, Nemesio? We included the HostedControl property of RadTreeNode in Q1 SP1 release which was released on 16th May 2007. If you are using an older version of RadTreeView you will not find this property.


Regards,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Treeview
Asked by
New2UI
Top achievements
Rank 1
Answers by
Jordan
Telerik team
New2UI
Top achievements
Rank 1
Boyko Markov
Telerik team
Share this question
or