Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2008

Tip: Looking for answers? Try searching our database.

list of files in Gridview, using a treeview

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Devlon - 11 Feb 2008 22:26 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.