Adding Nodes design time not allow adding children nodes

2 posts, 0 answers
  1. Gourangi
    Gourangi avatar
    83 posts
    Member since:
    Mar 2008

    Posted 14 Apr 2009 Link to this post


    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
  2. Victor
    Victor avatar
    1358 posts

    Posted 14 Apr 2009 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top