Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Multiple Collections for One Item

Answered Multiple Collections for One Item

Feed from this thread
  • Posted on Dec 16, 2011 (permalink)

    Hello,

    I have been breaking my head over the following problem and I do not get it working fully.

    I have a collection of Fase.
    The Fase object Has three collectlions namely
    Software
    Training
    Consultancy.

    I want my treeview to look like this
    Fase1
    -Software
    --Item1
    --Item2
    -Training
    --Item1
    --Item2
    -Consultancy
    --Item1
    --Item2
    Fase1
    -Software
    --Item1
    --Item2
    -Training
    --Item1
    --Item2
    -Consultancy
    --Item1
    --Item2


    These also all need different template but I am not able to figure out to get the first part working
    Fase1
    -Software
    -Training
    -Consultancy

    Is it even possible what I try to create with my current dataobjects.

    Reply

  • Answer Petar Mladenov Petar Mladenov admin's avatar

    Posted on Dec 19, 2011 (permalink)

    Hello Kevin Hendriks,

     Please examine the attached project where a basic solution could be found. We have Users that have Collections of Rights and LogEntries which are united in single collection so that a TemplateSelector could be applied. Please let us know if the suggested approach satisfies you.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

  • Posted on Dec 19, 2011 (permalink)

    Hello,

    I have a slightly different solution now. But the idea is the same.

    Thanks for the help

    With kind regards,
    Kevin

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TreeView > Multiple Collections for One Item
Related resources for "Multiple Collections for One Item"

WPF TreeView Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]