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"

  • 相关阅读:
    【Apollo】Apollo 分布式部署
    【Spring】SpringBatch快速入门
    Nacos、Apollo、Spring Cloud Config微服务配置中心对比
    IDEA或Android Studio用书签功能标识代码 Stars
    Jetpack架构组件学习(0)——总结篇 Stars
    Android Studio导出APP的数据库db文件 Stars
    Jetpack架构组件学习(1)——LifeCycle的使用 Stars
    JavaFx Tooltip悬浮提示使用及自定义 Stars
    JavaFx WebView使用研究 Stars
    Jetpack架构组件学习(2)——ViewModel和Livedata使用 Stars
  • 原文地址:https://www.cnblogs.com/goody9807/p/187940.html
Copyright © 2011-2022 走看看