<%@ Page language="c#" Codebehind="toolbar.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.toolbar" %>
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>toolbar</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<iewc:Toolbar id="Toolbar1" style="Z-INDEX: 101; LEFT: 168px; POSITION: absolute; TOP: 48px" runat="server"
Width="336px" Height="32px" BorderStyle="Inset">
<iewc:ToolbarButton ImageUrl="file:///E:\res\help_10.gif"></iewc:ToolbarButton>
<iewc:ToolbarButton ImageUrl="file:///E:\res\help_11.gif"></iewc:ToolbarButton>
</iewc:Toolbar></FONT>
</form>
</body>
</HTML>
为什么在网页上就一个框,TreeView就是一些字符没有图标和连线
2.要把webctrl_client(好象是这个吧,treeview控件安装后生成的)拷到c:/inetpub/wwwroot目录
3.你的程序中要添加dll引用