General method:
(1) Download the TreeView control to generate microsoft.web.ui.WebControls.dll (2) under wwwroot in wwwroot. WebCtrl_client / 1_0. (3) Copy the file under Build / Runtime to WebCtrl_Client / 1_0. (4) Select the custom toolbox for the toolbox, add Microsoft.Web.ui.WebControls.dll. The initialized environment here is well configured. You can find this control in the namespace. It is best to add using microsoft.web.ui.WebControlStreeView requires client browser version of IE5.5 and above, it is best to request clients Upgrade to IE6.0
[Note: If the project is not in the wwwroot directory, the webctrl_client / 1_0 directory is placed under the WebSite where the project is located.
2. Easy way:
When you deploy iEWebControl before server, you need to install the ASP.NET site, then install iEWebControls, which is more troublesome. In fact, configure it in the web.config file, you don't need to install it. Add: Add:
configsections>
MicrosoftWebControls>
[Attach: Microsoft.Web.ui.WebControls.dll component generation method]
IE Web Controls1, Double-click Installation, Default: System Dial: / Program Files / IE Web Controls Directory. 2. Run "Program - Microsoft Visual Studio.Net 2003 - Visual Studio.net Tool - Microsoft Visual Studio.net 2003 Command Prompt", go to the IE Web Control installation directory. 3. Run Build.bat. 4. Run XCOPY / S / I ./build/runtime (Website Root Catalog, Default Dish): / INETPUB / WWWROOT / WebCtrl_client / 1_0 / y. (WebCtrl_Client / 1_0 / If you don't have to create an empty directory, Y is the file under C: / Program Files / IE Web Controls / Build / Runtime) [C: / Program Files / IE Web Controls is the installation path of IE Web Controls] In the Toolbox --Web Form, select Add / Transfer ... ", select the .NET FRAMWORK component in the pop-up dialog box, click Browse, find the IE WebControl.dll file, Add it.