关于 TreeView WebControl

gaofang2079 2003-06-16 05:24:57
请问哪个高手怎样做树型菜单。我安装了iewebcontrols他也没有用,他报的错误是:
分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。

分析器错误信息: 找不到文件或程序集名称“Microsoft.Web.UI.WebControls”,或找不到它的一个依赖项。

源错误:


行 1: <%@ Register TagPrefix="mytree"
行 2: Namespace="Microsoft.Web.UI.WebControls"
行 3: Assembly="Microsoft.Web.UI.WebControls, Version=2.11.15.0, Culture=neutral, <BR>PublicKeyToken=31bf3856ad364e35" %>


源文件: c:\inetpub\wwwroot\NLIoffice1.0\tree1.aspx 行: 1

程序集加载跟踪: 下列信息有助于确定程序集“Microsoft.Web.UI.WebControls”无法加载的原因。
请指教,如果能够提供源代码更佳,谢谢!
...全文
27 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Bada 2003-06-18
  • 打赏
  • 举报
回复
你先在目录中search下面的这个文件,看看有没有,若有的话就当我没说吧;)
Microsoft.Web.UI.WebControls.dll
jlhdlj 2003-06-18
  • 打赏
  • 举报
回复
TreeView使用笔记

http://aspxcn.com/dotnetarticle/show.aspx?id=41
chenwulin 2003-06-16
  • 打赏
  • 举报
回复

=====================================
Internet Explorer Web Controls README
=====================================
Last updated: 1/14/2002

Thank 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 /y

3. 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.dll

4. Request the sample pages from your Internet Explorer web browser, for
example: http://localhost/sampleapp/multipage.aspx

For additional documentation and samples visit:
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp

110,502

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧