TreeView Dynamic Node Population

Rate It (1)

Last post 05-17-2006 1:53 PM by Russ Helfand. 5 replies.

Sort Posts:

  • TreeView Dynamic Node Population

    05-02-2006, 4:55 PM
    • Member
      15 point Member
    • csandlin
    • Member since 05-02-2006, 8:42 PM
    • Posts 3

    One issue that I've ran into is how do you make the TreeView control adapter render support for dynamic node population?  I'm dealing with a serious amount of data, and it wouldn't be feasible to render all the code at once.

    From the looks of things, there doesn't appear to be any support for this.  Does this mean I'm going to be forced to write this from scratch?  One of the reasons I started using the ASP.NET TreeView control is so I wouldn't have to do this.  It sure would be nice if there was an easy way to carry this feature forward.  Suggestions (please)?

  • Re: TreeView Dynamic Node Population

    05-02-2006, 8:23 PM
    • Star
      14,598 point Star
    • ScottGu
    • Member since 06-05-2002, 8:36 PM
    • Redmond, WA
    • Posts 2,004
    • AspNetTeam
      Moderator

    I believe you can do this with the control adapters.  I just forwarded this thread to someone to take a look at and see if we might be able to put together a sample showing how to-do it.

    Thanks,

    Scott

  • Re: TreeView Dynamic Node Population

    05-03-2006, 8:51 AM
    • Member
      15 point Member
    • csandlin
    • Member since 05-02-2006, 8:42 PM
    • Posts 3

    Thanks Scott.  It certainly would be a benefit if someone on your team could give a recommendation.  MS, has done a lot of groundwork here, and I'm really not excited about reinventing that wheel.

    Thanks,

    Chris

  • Re: TreeView Dynamic Node Population

    05-09-2006, 10:57 AM
    • Member
      15 point Member
    • csandlin
    • Member since 05-02-2006, 8:42 PM
    • Posts 3

    So, has anyone out there had an opportunity to give this matter some thought?  Any suggestions would be appreciated.

    Thanks.

  • Re: TreeView Dynamic Node Population

    05-17-2006, 1:23 PM
    • Member
      590 point Member
    • bttrflii
    • Member since 06-28-2005, 8:33 PM
    • Posts 132
    ScottGu:
    I believe you can do this with the control adapters.  I just forwarded this thread to someone to take a look at and see if we might be able to put together a sample showing how to-do it.


    i've been eagerly awaiting the how-to for this as it's something i've been trying to do for months (though with a menu control instead of a treeview).  would you please share the link or resource i can view or contact to learn how to do this?

    much appreciated.
    ~ cj
  • Re: TreeView Dynamic Node Population

    05-17-2006, 1:53 PM
    • Contributor
      3,298 point Contributor
    • Russ Helfand
    • Member since 09-14-2005, 2:22 PM
    • Groovybits.com
    • Posts 741

    There's no easy way to make this happen with adapters.  Scott and I have discussed it and he put me in contact with another developer who has some ideas that can expedite the development but they will take a while still to bring to a stage where I can post them.

    This is definitely on my radar for future revs of the adapter kit but I don't have anything that I can give you right now. Sorry.

    Russ Helfand
    Groovybits.com
Page 1 of 1 (6 items)