Tree view as Category & Subcategory organizer.

3 posts, 0 answers
  1. Lautaro
    Lautaro avatar
    25 posts
    Member since:
    Mar 2010

    Posted 28 Aug 2010 Link to this post

    HI! 
    Im trying to see if the tree view works for my solution.
    Im doing a more advance note system that will be based on categories, which can have 0-many subcategories. 
    The treeview would be perfect to organize the catgegories. Is it possible to bind the treeview to a LINQ Category class. How does the tree view store the values of where certain category should be placed in the tree?

    Thanks for your answers! 
    Lautaro.
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 30 Aug 2010 Link to this post

    Hello Lautaro,

    I'm assuming that your Category table contains both parent and sub-categories in them with a self-referencing relationship. If so, this demo should be of interest:

    http://demos.telerik.com/aspnet-ajax/treeview/examples/populatingwithdata/linqdatasource/defaultcs.aspx

    I hope that helps.
  3. Lautaro
    Lautaro avatar
    25 posts
    Member since:
    Mar 2010

    Posted 30 Aug 2010 Link to this post

    It most defenitly does help! Thanks, its exactly what i wanted to have confirmed!
Back to Top