list of files in Gridview, using a treeview

  • Thread starter Thread starter John Devlon
  • Start date Start date
J

John Devlon

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
 
Hello John,

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

see some samples there
http://www.developer.com/net/asp/article.php/3599886
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


JD> Hi,
JD>
JD> I've created a small webpage, containing a Treeview and a Gridiview.
JD> The treeview is populated with all folders and subfolders of a
JD> directory. so far, so good.
JD>
JD> When clicking on a node in the treeview, I would like to display all
JD> files
JD> in that folder, in the gridview.
JD> How do I catch the selected node change, triggering the gridview
JD> update ?
JD>
JD> Thanx
JD>
JD> John
JD>
 
Back
Top