Using the Treeview to show/edit a bulleted list

2 posts, 0 answers
  1. Ash
    Ash avatar
    5 posts
    Member since:
    Oct 2005

    Posted 18 Jul 2009 Link to this post

    Would the TreeView be a good control to display and edit a hierarchical bulleted list like what MS Word does?
    See picture
    http://www.java2s.com/Tutorial/Microsoft-Office-Word-2007Images/Create_Multilevel_Bulleted_Or_Numbered_List___Press_Enter.PNG

    From a display side, hiding the treeview lines and adding bullet points to every node should solve it. Is there a way to let editing happen without having to press the F2 key.

    Thanks,
    Ash
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 20 Jul 2009 Link to this post

    Hello Ash,

    Yes - the treeview will fit nicely in your scenario.

    You can trigger the NodeEditing by using the IsInEditMode property to true.


    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top