为何我的treeview控件创建失败???(.net),我已经有Microsoft.web.UI.webcontrols.dll ( 积分: 100 )

  • 主题发起人 主题发起人 fkybcb
  • 开始时间 开始时间
F

fkybcb

Unregistered / Unconfirmed
GUEST, unregistred user!
<%@ import namespace="Microsoft.web.UI.webcontrols"%>
<%@ register tagprefix = "iecontrols"
namespace="Microsoft.web.UI.webcontrols"
assembly="microsoft.web.UI.webcontrols"
%>
<HTML>
<HEAD>
<title>tree1</title>
</HEAD>
<body>
<form runat="server">
<iecontrols:treeview id="tvbasic"
autoselect="false"
shoplus="true"
showlines="true"
expandlevel=2 runat="server">
</iecontrols:TREEVIEW>
</form>
</body>
</HTML>
 
<%@ import namespace="Microsoft.web.UI.webcontrols"%>
<%@ register tagprefix = "iecontrols"
namespace="Microsoft.web.UI.webcontrols"
assembly="microsoft.web.UI.webcontrols"
%>
<HTML>
<HEAD>
<title>tree1</title>
</HEAD>
<body>
<form runat="server">
<iecontrols:treeview id="tvbasic"
autoselect="false"
shoplus="true"
showlines="true"
expandlevel=2 runat="server">
</iecontrols:TREEVIEW>
</form>
</body>
</HTML>
 
你的Webcontrols.dll配件包没有放在Bin目录?
 
1、将webctrl_client拷贝到C:/Inetpub/wwwroot/下去
2、将Microsoft.web.UI.webcontrols.dll 拷贝到你自己应用的bin下
 
[:)],同意楼上的
 
后退
顶部