To use Microsoft's TreeView control in ASP.NET, you must be installed locally by the user download control. Download page:
After downloading to the local, executing the installer will create a directory IE Web Controls in the C: / Program Files / Click Start -> All Programs ->. Net 2003 ->. Net Tool -> Visual Studio .NET 2003 Command Tips, execute C : / Program Files / IE Web Controls Directory Batch Batch file, automatically establish the build directory, then execute the command:
XCOPY / S / I C: / Program Files / IE Web Controls / Build / Runtime C: / INETPUB / WWWROOT / WebCtrl_Client / 1_0 / Y
Please modify the source folder according to the user's installation path, but the target folder cannot be changed. Please confirm that your IIS service's default website points to the c: / inetpub / wwwroot directory, otherwise it is parsing the TreeView control.
Now the user has been able to parse the TreeView control, but if you want to use the TreeView control in Microsoft Visual Studio .NET 2003, you must also configure it.
Open the project in Microsoft Visual Studio .NET 2003, click Right click on the control bar on the left to select Add / Shift, then click Browse, find
C: / program files / ie web controls / build / microsoft.web.ui.WebControls.dll file, then OK, now you can discover TreeView and other three controls in the Web Forms tab.
Start your TreeView development trip.