知识点 - 在应用iewc:treeview控件时,webctrl_client文件夹如何放在虚拟目录下

1.在Web.config的configuration节点下添加:

<configSections>   

<section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler, System,System.Configuration.NameValueSectionHandler,System,Version=1.0.3300.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" />     

</configSections>      

<MicrosoftWebControls>     

        <add key="CommonFiles" value="/虚拟目录/webctrl_client/1_0" />   

</MicrosoftWebControls> 

 2.修改iewc:treeview

 <iewc:treeview id="TreeView1" BorderWidth="0px" SelectExpands="True" SystemImagesPath="/虚拟目录/webctrl_client/1_0/treeimages" ShowLines="False" Height="100%" Width="100%" runat="server"></iewc:treeview>

你可能感兴趣的:(treeview)