一个关于TreeView的简单问题
各位兄弟,我下了一个微软的TreeView控件,属性看透了.怎么也没弄了个带线条的样式出来?
为什么它是横向排列的.而不是以树的形式垂直排列下来的,到底要设置什么属性?哪位大哥能把这些常规的外观属性给我列一下,感激不尽
问题点数:20、回复次数:2Top
1 楼Eddie005(♂) №.零零伍 (♂)回复于 2006-07-04 21:21:56 得分 0
缺文件了,IIS根目录(默认是C:\Inetpub\wwwroot)下应该有webctrl_client这个文件夹Top
2 楼nnh(菲一打)回复于 2006-07-04 21:34:24 得分 0
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.aspxTop




