hi
in my website i have to modul one is admin and one is my site
now i create two sitemap and 1st is bind to admin and 2nd bind to site
now i try to bind the treeview to sitemap but datasource by default attech the 1st sitemap
how to bind 2nd sitemap to treeview please help me
How to bind sitemap to treeview
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


CrishRank #1,487 · 1.1K reputationPosted May 13, 2010, 1:10 AM EDT
you can select certain TreeNode in this way
treeView1.HideSelection = false;//show the selection, or there will no
visual effects on selection
//do you own selection algorithm
treeView1.SelectedNode = treeView1.Nodes[1].Nodes[0];
thanks
Dharmesh SharmaRank #1,974 · 741 reputationPosted May 13, 2010, 11:14 PM EDT
but u dont understand my problem
i just bind my 2nd website.sitemap to my treeview by sitemap datasource