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

Need to show windows user control on node click

5 Answers 83 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Atul Srivastav
Top achievements
Rank 1
Atul Srivastav asked on 03 Sep 2009, 02:41 PM
Hi

Please look on this image(http://65.57.255.33/TreeViewWithUserControl.JPG). I need to show windows user control on node selection.
I am using "RadControls for WinForms Q2 2009 SP1".
Please help me to do this. Thanx.

Atul Srivastav

5 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 08 Sep 2009, 03:17 PM
Hello Atul Srivastav,

Thank you for writing.

You can host control into any RadTrieeView's node by using HostedControl property:
 
MyUserControl myControl = new MyUserControl();  
this.radTreeView1.Nodes[1].Nodes[0].HostedControl = myControl; 

Do not hesitate to contact me again if you need additional assistance.

 
Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sébastien LELASSEUX
Top achievements
Rank 1
answered on 01 Dec 2009, 04:46 PM
HI,

I used this property to host my control (a label with 2 checkbox) on each node but loading and scrolling is very slow. 
What is the best practice to do it?

Thanks for your help.
slefr.


0
Nikolay
Telerik team
answered on 02 Dec 2009, 04:58 PM
Hi Sébastien LELASSEUX,

You can find the answer to your question in the support ticket that you have opened about the same topic.

Sincerely yours,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Larry Brindise
Top achievements
Rank 1
answered on 28 Dec 2009, 10:25 PM
Would it be possible to post the answer to this question on this forum thread?
Thanks.
0
Nick
Telerik team
answered on 29 Dec 2009, 08:30 AM
Hi Larry Brindise,

Here is the response:

Thank you for this question. Currently this layout is not possible with RadGridView. However, we plan to add self-referencing hierarchy and tree-list functionality in RadGridView in one of our upcoming releases. If you have more questions, don't hesitate to ask.

We have not started the tasks yet. Self-referencing might be available for Q1 2010 though.

Best wishes,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Treeview
Asked by
Atul Srivastav
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Sébastien LELASSEUX
Top achievements
Rank 1
Nikolay
Telerik team
Larry Brindise
Top achievements
Rank 1
Nick
Telerik team
Share this question
or