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] - 12 Feb 2008 11:09 GMT
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>
Jim Brooks - 02 Dec 2008 06:19 GMT
Look at the first example here to get an idea of how to do this:
http://www.DigitalTools.com/GVT.aspx
Gregory A. Beamer - 02 Dec 2008 16:12 GMT
I am not sure what you are trying to do here ... advertise? answer a
question?

Signature
Gregory A. Beamer
MVP: MCP: +I, SE, SD, DBA
Blog:
http://feeds.feedburner.com/GregoryBeamer
********************************************
| Think Outside the Box! |
********************************************
> Look at the first example here to get an idea of how to do this:
>
> http://www.DigitalTools.com/GVT.aspx