I was dynamically changing sitemaps in Asp.Net 2.0 using c#.
I wanted to remove a node in the site map chain under certain conditions.
You would think this could be done by removing the errant node (1) from its parent node (2) and then adding in the node that you want (3) instead. However this doesn't work, you also need to set parentnode of (3) to (2).
Then its all tickety boo.
Monday, December 10, 2007
Subscribe to:
Posts (Atom)