how to make treeview and sitemap nodes not clickable?

Jun 3, 2008 at 11:39 PM
Hi all,

I am using wcsf and pageflow from wcsfcontrib.

When my application gets initialized, I add siteMapNodeInfo's to siteMapBuilderService.
These nodes have an url and that's what makes them clickable.

Is it possible to make them unclickable?  (I just want to use them for an indication where the visitor is located on the page, and my pageFlow will navigate the user. )

I also need to do this on just a few nodes, others will have to maintain their clickability :)


Could someone please advise me weither this is possible?


Kind regards,
Wim
Jun 4, 2008 at 4:37 PM
Please refer to this thread for a solution

http://www.codeplex.com/websf/Thread/View.aspx?ThreadId=28308

1. Add an attribute to the nodes if you want them unclickable.
2. Subscribe to the item data bind event.
3. In the event handler, check if it is the node with attributes. If it is, figure out a way to disable link.

Chester in Calgary