What I want to do is when im in the Post page I want to highlight the category to which it belongs in the treeview...but considering that each post is not in the sitemap file it just looses focus...so how can I set the selected treeview node to be
www.site.com/sports/soccer/europe/ when im on the
www.site.com/post/2342-Zlatan-scores-again page.
Thanks
M
please "mark as answer" if my answer solved the issue.
manga75
Member
389 Points
112 Posts
Set treeview SelectedNode programatically
Jan 31, 2012 12:08 AM|LINK
Hi I have a site with a two aspx pages and a masterpage.
masterpage.master
default.aspx
post.aspx
on the masterpage I have a treeview with a list of categories and when a category is selected I get a list of topics with a intro on each post.
URL example category: www.site.com/sports/soccer/europe/
categories can go three-four levels deep and if I click a specific post I get into the post.aspx
URL example post: www.site.com/post/2342-Zlatan-scores-again
What I want to do is when im in the Post page I want to highlight the category to which it belongs in the treeview...but considering that each post is not in the sitemap file it just looses focus...so how can I set the selected treeview node to be www.site.com/sports/soccer/europe/ when im on the www.site.com/post/2342-Zlatan-scores-again page.
Thanks
please "mark as answer" if my answer solved the issue.