开发者

Filtering SharePoint SiteMapDatasource

I'm using a SiteMapDatasource in a tree view to display a simple hierarchical site map. I need to filter this map so that it only shows links to sites and sub sites, and not any li开发者_StackOverflow中文版nks to things like lists, document libraries, etc.

thanks!


Without knowing more about your situation, would it be possible (assuming these are XML type data structures) to use some kind of XPATH query to pull and filter information? Perhaps you can transform it via XSLT? If you can post what things look like, it might help to give a little more insight.

There is always, the possibility of using LINQ on the data source...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜