Setting the ParentNode title from Child Node

Jan 14, 2010 at 1:49 PM

I want to set a value for the title of the parent node in this situation:

<mvcSiteMapNode title="$resources:SiteMapLocalizations,ArticleTitle" controller="Article" action="Index">
      <mvcSiteMapNode title="Plug Category Name Here" controller="Article" action="Category"
                      isDynamic="true" dynamicParameters="articleCategory">
        <mvcSiteMapNode title="Will be replaced in controller"
                      controller="Article" action="ViewArticle"
                      isDynamic="true" dynamicParameters="articleCategory,articleUrl"
                      visibility="InSiteMapPathOnly"

                      key="ViewArticle"/>
      </mvcSiteMapNode>
</mvcSiteMapNode>

What I want to do, is inside ViewArticle, set the parent node ArticleCategory's Title to be what I set in the ViewData of ViewArticle.

Does anyone know how to do this?