Adding Node as Control Textbox

4 posts, 0 answers
  1. New2UI
    New2UI avatar
    7 posts
    Member since:
    Apr 2007

    Posted 17 May 2007 Link to this post

    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?
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 18 May 2007 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. New2UI
    New2UI avatar
    7 posts
    Member since:
    Apr 2007

    Posted 18 May 2007 Link to this post

    There is no HostedControl property supported with this version. It has  HostedItem.
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 18 May 2007 Link to this post

    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
Back to Top