Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > radtoolstrip with rad tree view

Not answered radtoolstrip with rad tree view

Feed from this thread
  • suneetha inturi avatar

    Posted on Oct 7, 2009 (permalink)

    Hi ,
    Can we have radtreeview with in the radtoolstrip or radmenuitem.We have a requirement saying that in the menu phone contacts will be one menu item under that menu item we need to display phone contacts and groups as tree view with minimize and maximize buttons.If any thing is not clear please ask me.
    Thanks
    Suneetha.

    Reply

  • Martin Vasilev Martin Vasilev admin's avatar

    Posted on Oct 12, 2009 (permalink)

    Hi suneetha inturi,

    Thank you for your questions. You can add RadTreeView in a RadToolStripItem by using RadHostItem. Please, consider the following code:

    RadTreeView treeView = new RadTreeView();
    treeView.Nodes.Add(new RadTreeNode("Node1"));
     
    treeView.MinimumSize = new Size(150, 60);
    treeView.MaximumSize = new Size(150, 60);
     
    RadHostItem hostItem1 = new RadHostItem(treeView);
    hostItem1.MinSize = new Size(150, 55);
    hostItem1.MaxSize = new Size(150, 55);
    hostItem1.Margin = new Padding(5);
     
    this.radToolStripItem1.Items.Add(hostItem1);
    hostItem1.PositionOffset = new SizeF(0, -3);

    Also you can nest any controls including RadTreeView in a RadMenu by using its RadMenuContentItem. Please find more detailed information and tutorial in our documentation.

    Write me back if you have other questions.

    Kind regards,
    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > radtoolstrip with rad tree view
Related resources for "radtoolstrip with rad tree view"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]