Help... RadPanel with Listbox

3 posts, 1 answers
  1. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 15 Sep 2011 Link to this post

    Hi.
    I am trying to achieve something that is giving me such a headache...

    I would like to set a collection of items that have a collection of items.
    The top items I do believe that the best representation would be RadPanel.
    For the sub collection I would like to set it as a List.

    Take the example classes:

    I have a collection let's say Fleets; and each Fleet would have a collection of Vehicles;
    So radpanel collection is binded to Fleets;
    Each item template would be a listbox of vehicles.

    I have been trying to accomplish this but with no success until now. Could some one aid me on this? 
    By the way, I am using PRISM and MVVM if it matters...
  2. Answer
    Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 20 Sep 2011 Link to this post

    Hi Figueiredorj,
    In order to achieve this you'll need to use the HierarchicalDataTemplate. You can read more about it here.
    For further references could you please examine the attached project and if you have more questions feel free to ask.

    Regards,
    Zarko
    the Telerik team

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

  3. DevCraft banner
  4. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 20 Sep 2011 Link to this post

    Thanks Zarko.
    Actually I had already figured it out but It could be a further reference to someone else...


Back to Top