开发者

Bind TreeView with Sitemap

开发者 https://www.devze.com 2023-02-17 21:18 出处:网络
I have a Sitemap and I am planning to query it programmatically and filter it, something like from SiteMapNode smnode in SiteMap.RootNode.GetAllNodes()

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

精彩评论

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