请问
node0
 -node1
 -node2
node3
 -node4
 -node5
在asp.net中编辑时,是显示树结构,
可是在IE中,什么变成一连串字符了,变成
node0 node1
node2 node3
node4 node5
是什么回事

解决方案 »

  1.   

    你把webctrl_client文件夹放到虚拟目录下就可以了(默认:C:\inetpub\wwwroot)
      

  2.   

    检查wwwroot目录下有没webctrl_client文件夹?
      

  3.   

    默认情况下,安装了IE WebControls之后,你的默认站点wwwroot文件夹下面会有webctrl_client文件夹。
    如果你更改了默认站点的位置,或者新建了一个站点,那么TreeView将不能正常显示,你需要将webctrl_client文件夹复制到当前项目所在站点的根目录
      

  4.   

    而且在编辑中,我都可以看到图片,
    但是在IE中就不能,而且node0和node1在一行上
      

  5.   

    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
    我装的是候因为没做第四步所以不显示,不知道你的原因是哪个/
      

  6.   

    哈哈,谢谢 xinzhe.跟你一样