list of files in Gridview, using a treeview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Devlon

    list of files in Gridview, using a treeview

    Hi,

    I've created a small webpage, containing a Treeview and a Gridiview.
    The treeview is populated with all folders and subfolders of a
    directory. so far, so good.

    When clicking on a node in the treeview, I would like to display all
    files
    in that folder, in the gridview.

    How do I catch the selected node change, triggering the gridview
    update ?

    Thanx

    John
  • Michael Nemtsev [MVP]

    #2
    Re: list of files in Gridview, using a treeview

    Hello John,

    I suggest to read a couple of articles about how to use asp.net treeview

    see some samples there

    and there http://www.15seconds.com/issue/041117.htm

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    JDHi,
    JD>
    JDI've created a small webpage, containing a Treeview and a Gridiview.
    JDThe treeview is populated with all folders and subfolders of a
    JDdirectory. so far, so good.
    JD>
    JDWhen clicking on a node in the treeview, I would like to display all
    JDfiles
    JDin that folder, in the gridview.
    JDHow do I catch the selected node change, triggering the gridview
    JDupdate ?
    JD>
    JDThanx
    JD>
    JDJohn
    JD>


    Comment

    Working...