开发者

Bind TreeView with Sitemap

I have a Sitemap and I am planning to query it programmatically and filter it, something like

from SiteMapNode smnode in SiteMap.RootNode.GetAllNodes()
..do something

My question is how do I approach the above. I mean on what event can I query it and how to then bin开发者_如何学JAVAd it to the TreeView?


You should use SiteMapDataSource:

http://msdn.microsoft.com/en-us/library/ms227441.aspx

and bind to that datasrouce

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜