<ie:treeview....这个是系统生成的还是你自己写的?

解决方案 »

  1.   

    你没有安装,直接把Microsoft.Web.UI.WebControls.dll拷贝到bin下的?
      

  2.   

    ??我从微软的站点:http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downloads/samples/Internet/ASP_DOT_NET_ServerControls/WebControls/default.asp下载的IEWebControls.exe,运行后按照它的readme文件
    =====================================
    Internet Explorer Web Controls README
    =====================================
    Last updated: 1/14/2002Thank you for downloading the IE Web Controls source code release!  The Src 
    folder contains the source code for the IE MultiPage, ToolBar, TreeView, and 
    TabStrip controls, along with related base classes and design-time support.To build the IE Web Controls:1.  Make sure you have installed the .NET Framework SDK v1.0 or v1.1
    2.  Run Build.bat, which will create a build folder in this directory.  
        The build folder contains Microsoft.Web.UI.WebControls.dll and a 
        Runtime directory of supporting files.To run the IE Web Controls:1.  Copy the contents of the Runtime directory to the webctrl_client\1_0
        directory under your top-level site directory.  For example, if your 
        site root is c:\Inetpub\wwwroot, type this at the command prompt:    xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y    This will create the following directory structure under the site:      /webctrl_client/1_0
            MultiPage.htc
            TabStrip.htc
            toolbar.htc
            treeview.htc
            webservice.htc
            webserviced.htc
            [images]
            [treeimages]2.  Create a new web application in IIS and copy the contents of the
        samples directory to this application directory.  For example:    xcopy /s /i .\samples c:\Inetpub\wwwroot\sampleapp /y3.  Create a /bin subdirectory for the application and copy the file
        Microsoft.Web.UI.WebControls.dll to this directory.    The contents of the application will be as follows:      /sampleapp
            multipage.aspx
            state_city.xml
            tabstrip.aspx
            toolbar.aspx
            treeview.aspx
            treeview_bound.aspx
            /bin
              Microsoft.Web.UI.WebControls.dll4.  Request the sample pages from your Internet Explorer web browser, for
        example: http://localhost/sampleapp/multipage.aspx进行了设置。
    我又重新这样做了一遍。结果没有出来treeview了,操作也没有问题,就是状态栏显示网页有错误,详细提示是:treeview.htc没有注册类别,这是怎么回事?
    还有我查找到(别人的帖子)--->>下载安装后第一次使用时,要右击工具箱Customize Toolbox…→.NET Framework Components中找到Micosoft.Web.UI.WebControls.Treeview后选中,这样Treeview控件就出现在工具箱中了。我怎么找不到Micosoft.Web.UI.WebControls.Treeview?我现在引入是通过浏览到Micosoft.Web.UI.WebControls.dll找的。 
      

  3.   

    sorry,说错了:我又重新这样做了一遍。结果没有出来treeview了-->>我又重新这样做了一遍。结果出来treeview了
    ^_^!
      

  4.   

    把原来的删除掉,你把TREEVIEW拖到你的页面上,重新做一遍
      

  5.   

    我又down了一个安装webcontrol的:
    ---
    MS给TreeView出过两个版本
    用msi自动安装版本比较方便
    http://asp2.6to23.com/lg12net/Framwork/iewebcontrols.msi
    ---
    这次我右击工具箱Customize Toolbox…→.NET Framework Components中找到Micosoft.Web.UI.WebControls.Treeview后选中加入工具栏没有问题了。
    可是网页还是报treeview.htc没有注册类别
    但是控件操作没有问题,这是怎么回事呢?请大家帮帮我,分数可以再加!