Treeview Navigation Web Part for SharePoint with SmartPart v1.0
Written by: Rickie Lee
Dec. 17, 2004
Tom van de Kerkhof开发了Treeview Navigation Web Part (Free download source code),该Web Part可以方便用于SharePoint站点之间的导航。Treeview Navigation Web Part基于Funkelab的免费ASP.Net Server Control和SmartPart web Part。
Tom van de Kerkhof提供了Treeview Navigation Webpart for Sharepoint with the Smartpart 0.2.0.1的下载。
Download URL:
只要在上面代码的基础上,重新引用SmartPart v1.0编译一次,就可以在SmartPart v1.0中使用Treeview Navigation web part。注:A free ASP.NET server control (Treeview) created by Funkelab.
Treeview Navigation Web Part演示效果:
部署Treeview Navigation Web Part向导(前提是已经部署好SmartPart v1.0):
1. 复制Tomvandekerkhof.Sharepoint.Treeview.dll和mytreeview.dll到SPS的bin目录,如C:\Inetpub\wwwroot\bin.
2. 在C:\Inetpub\wwwroot\下创建UserControls目录,并复制文件TreeviewNavigation.ascx.
3. 复制images目录下的文件到/wpresources/images目录.
4. 拖放SmartPart Web Part到SPS页面。
5. 设置SmartPart的User Control(.ascx)属性为:~/UserControls/TreeviewNavigation.ascx,并点击apply button.
6. 修改Treeview Web Part的相关属性,如Expanded(是否展开),Levels(展开级数)Start from root等等。
关于SmartPart v1.0的详细信息,可以参考我的前一篇POST:
《SmartPart v1.0 for SharePoint [Free Web Part]》written by myself.
***
Special thanks goes out to Tom van de Kerkhof, Jan Tielens, Funkelab and many other guys for their contribution to these wonderful web parts.
References:
1. Tom van de Kerkhof's bloggings, http://www.blogs.jpworks.be/Tom/default.aspx
2. Tom van de Kerkhof, Treeview Navigation Webpart for Sharepoint with the Smartpart 0.2.0.1, http://www.blogs.jpworks.be/Tom/CommentView.aspx?guid=3b81e46a-a471-4234-98ff-692459faf26e
3. Tom van de Kerkhof, How to upgrade the Treeview Navigation Webpart to Smartpart 1.0.0.0?, http://www.blogs.jpworks.be/Tom/PermaLink.aspx?guid=422f9b6b-6077-4227-97f6-917d2b2df453
4. Funkelab.com, MyTreeView, http://www.funkelab.com/website.aspx?objectid=1&displayid=1216