First of all, thank Dudu recommended!
I have always been a headache for this so-called document library tree (because there is a business department who is not convinced!). In fact, I have some ideas, but my two knife programming is a bit ... Yesterday, suddenly saw Dudu articles, I quickly download this WebPart. And began deployment and testing:
1. Deploy the STSADM command to the server
There is nothing to say, don't know, check the SDK.
2, then deploy DocumentLibraryBrowser.dll and MytreeView.dll deployed in the bin directory to the GAC
3, add WebPart to the site
4. Deploy WebPart to the webpage
I thought, I'm ok. However, an unexpected situation appears on the page, that is, the tree display WebPart's "tree" dry (that is, the connection line and folder icon on the left) all longer red. I remember there is a "wpresources" directory in the site of the site, and when deploying this WebPart program, I have automatically created a DocumentLibraryBrowser directory in it, all the icons are put it? what happened?
I am right-clicking on the red fork, check the properties, the path is: "http://mysite.test.com/c7/test/_wpresources/documentlibraryBrowser/1.0.0.1__42f4415f140f5427"
But use FrontPage to open this site, no this directory. So I handed on the site to create a folder "_wpresources" in this path, but the creation is unsuccessful, will it be because less 1.0.0.1__42f4415f140f5427 directory. So, I created a directory called 1.0.0.1__42f4415f140f5427 in the DocumentLibraryBrowser directory, but the fault is still.
Then, I think of c: / program files / usb files / microsoft shared / web server extensions / wpresources, because this directory is where SPS is used to put public resources, will it be?
I have created the two-level directory of this directory: c: / program files / common files / wpresources / documentlibraryBrowser / 1.0.0.1__42f4415f140f5427, then copy all the maps to this directory.
In the refresh page, OK.
It turns out that the system automatically establishes the _wpresources virtual directory for each region, which actually points to the C: / Program Files / Common Files / Microsoft Shared / Web Server Extensions / WpResources / this directory.