Deploy and use Microsoft's TreeView control in ASP.net
Source: Internet
Author: User
asp.net|treeview| Control | Microsoft I want to use a TreeView control to display the structure of the folder. There is no default TreeView control in ASP.net, so I looked up the information and knew that Microsoft had released its control iewebcontrols. I downloaded the control and installed it on my own machine.
1. Download:
First, unzip and then run Builder.bat. Found the error, check a bit, the original is CSC.exe did not find. So, I modified the batch and added the full path to the file before CSC.exe, and the batch content became:
Then, according to the readme prompts, a folder C:\Inetpub\wwwroot\webctrl_client is created under the default site, and then the "\1_0" folder is created under this folder, and then Copy the files in the Builder directory to this folder, which contains the following files:
/webctrl_client/1_0
Multipage.htc
Tabstrip.htc
Toolbar.htc
Treeview.htc
Webservice.htc
Webserviced.htc
[Images]
[Treeimages]
Then, copy the generated DLL file (Microsoft.Web.UI.WebControls.dll) to the bin directory under your newly created WEB application
3. Use
According to the example file provided, create a Web application, open the page you want to edit, and add the following sentences to the top:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.