zoukankan      html  css  js  c++  java
  • [转贴]不能显示树型或树控件使用不正常的解决办法

    1.确保你的IE在5.5版本以上 否则不支持树控件

    2.并在开始菜单---> 运行中输入cmd ---> 按回车---> 输入以下命令

    D:\WINNT\Microsoft.NET\Framework\v1.0.3705\csc.exe /out:build\Microsoft.Web.UI.WebControls.dll


    ps:D:\WINNT\Microsoft.NET\Framework\v1.0.3705\csc.exe代表csc文件所在目录
        如果你的系统装在C盘上那么去C盘相应目录上查找csc.exe文件并取得其所在目录
       
    3.  一般默认安装完树控件后 都会安装在 Program Files\Microsoft Internet Explorer WebControls下
       你运行完 注册命令后 会 产生  \build\Runtime 目录  
      下面有 images 、treeimages  等文件夹和文件
       在wwwroot下创建 webctrl_client\1_0 目录 然后把Runtime下所有东西copy到webctrl_client\1_0下
    ================以下是微软提供的安装树控件的步骤=================


    1. Verifies that IIS V5.0 or later is installed.

    2. Creates the following directory:

    "C:\Program Files\Microsoft Internet Explorer WebControls"

    and copies Microsoft.Web.UI.WebControls.dll to the directory.

    Note: The folder is created on the disk being used by the operating
    system (OS). The "C" drive may not be used for the OS on all machines.

    3. Microsoft.Web.UI.WebControls.dll is installed into the Global
    Assembly Cache

    4. Adds a link to the MSDN WebControls documentation to the Programs
    Menu.

    5. The following directories are added below the Root Web:

    webctrl_client\1_0\
    webctrl_client\1_0\images
    webctrl_client\1_0\treeimages
    webctrl_client\1_0\treeimages\rtl

    6. Copies the HTC files (Behaviors)

    The HTML Components files implementing the behaviors are copied to the
    "webctrl_client\1_0\" folder below the Root Web folder.

    These behaviors can be used in Internet Explorer 5.5 and later
    versions, and are used automatically by the IE WebControls in ASP.NET
    WebForms.

    7. Copies images to the following paths:

    Images used by the WebControls: "webctrl_client\1_0\images"

    Images for the TreeView: "webctrl_client\1_0\treeimages"

    Right-to-left images for the TreeView:
    "webctrl_client\1_0\treeimages\rtl"

    8. Creates the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\
      AssemblyFolders\IEWebControls

    The default string value of this key is set to the folder where
    Microsoft.Web.UI.WebControls.dll was installed, which is usually
    "C:\Program Files\Microsoft Internet Explorer WebControls"

  • 相关阅读:
    好好活,做有意义的事
    linux运维、架构之路-linux基础知识
    linux运维、架构之路-linux目录结构
    linux运维、架构之路-linux基础优化
    linux运维、架构之路-SSH远程管理服务
    linux运维、架构之路-实时同步方案
    linux运维、架构之路-nfs网络文件系统
    linux运维、架构之路-全网备份项目方案
    linux运维、架构之路-rsync
    编程题
  • 原文地址:https://www.cnblogs.com/goody9807/p/187940.html
Copyright © 2011-2022 走看看