简体   繁体   English

如何使用C#以编程方式创建共享点导航栏

[英]How to create sharepoint navigation bar programatically using c#

I am using c# with asp.net for wspproject. 我将c#与asp.net一起用于wspproject。 I am using spgridview to show the folders and files. 我正在使用spgridview显示文件夹和文件。 When i clicked on folder, the spgridview bind with folder content(files/folders). 当我单击文件夹时,spgridview与文件夹内容(文件/文件夹)绑定。

Now i need to navigate folders based on the folder names like navigation bar in sharepoint. 现在,我需要基于文件夹名称(如sharepoint中的导航栏)浏览文件夹。

How to create the navigation bar for sharepoint folders? 如何为共享点文件夹创建导航栏?

Any suggestion appreciated. 任何建议表示赞赏。

Have you looked at SiteMap Providers in .NET? 您是否看过.NET中的SiteMap提供程序? Completely dependant on if you want this to be dynamic or not, providers are easy to setup using a Sitemap.xml file, but they're static. 完全取决于您是否希望它是动态的,可以使用Sitemap.xml文件轻松设置提供程序,但是它们是静态的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM