Need to show windows user control on node click

6 posts, 0 answers
  1. Atul Srivastav
    Atul Srivastav avatar
    65 posts
    Member since:
    Jun 2007

    Posted 03 Sep 2009 Link to this post

    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
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 08 Sep 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Sébastien LELASSEUX
    Sébastien LELASSEUX avatar
    2 posts
    Member since:
    Oct 2012

    Posted 01 Dec 2009 Link to this post

    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.


  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 02 Dec 2009 Link to this post

    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.
  6. Larry Brindise
    Larry Brindise avatar
    8 posts
    Member since:
    Apr 2008

    Posted 28 Dec 2009 Link to this post

    Would it be possible to post the answer to this question on this forum thread?
    Thanks.
  7. Nick
    Admin
    Nick avatar
    767 posts

    Posted 29 Dec 2009 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready