Client Side File System Browser using a Web Control TreeView
http://www.dotnet247.com/247reference/articles/1/9431.aspx
Summary:
There are two files that are included in the ZIP file. I am using Visual Studio.NET 2000 Framework 1.1 What does this do? Not to long ago I was given a challenge. To use a TreeView (WebControl) to list all drives on a users file system. When a drive was selected list all sub files and folders. All folders have a checkbox next to them. When a user clicks on a checkbox next to a file that file's full path is appended to a hidden textbox on the form Well this sounds easier then it is. All of the code for expanding and collapsing the tree nodes is client side. This will also give an example of how to keep the position of a child node. I hope that someone finds use with this as I learned alot from creating it. Thank you for reading this and please feel free to post any comments or suggestions that you may have. Please also note I included just the .ASPX & CS files in the ZIP. William O'Malley
Summary:
There are two files that are included in the ZIP file. I am using Visual Studio.NET 2000 Framework 1.1 What does this do? Not to long ago I was given a challenge. To use a TreeView (WebControl) to list all drives on a users file system. When a drive was selected list all sub files and folders. All folders have a checkbox next to them. When a user clicks on a checkbox next to a file that file's full path is appended to a hidden textbox on the form Well this sounds easier then it is. All of the code for expanding and collapsing the tree nodes is client side. This will also give an example of how to keep the position of a child node. I hope that someone finds use with this as I learned alot from creating it. Thank you for reading this and please feel free to post any comments or suggestions that you may have. Please also note I included just the .ASPX & CS files in the ZIP. William O'Malley