Posted on: 8/21/2014 3:26:13 PM | Views : 412

Follow up to post http://forums.asp.net/t/1357181.aspx?Expression+works+in+page+but+not+sitemap+
You could write a SiteMapResolveEventHandler:
In your Global.asax file add:
void Application_Start(object sender, EventArgs e) {     SiteMap.Provider.SiteMapResolve += new SiteMapResolveEventHandler(PathExpansionHandler.ExpandPath); }
The create a class to handle the expand path event
public class PathExpansionHandler { public static SiteMapNode ExpandPath(Object sender, SiteMapResolveEventArgs e) { //Obtain a reference to the current node and its ancestors SiteMapNode nodeCopy = SiteMap.CurrentNode.Clone(true);
String Description = Resources.forms.Forms.ResourceManager.GetString(nodeCopy.Description.ToLower()); if (Descript ...

Go to the complete details ...