To make the problem more complicated, I tried the followin code, but even this one does not change the menu, it always insists on its original values derived from Site.SiteMap
if (e.Provider.CurrentNode != null)
{
SiteMapNode n = new SiteMapNode(e.Provider, e.Provider.CurrentNode.Key, "www.yahoo.com", "test", "description");
return n;
}
else
return null;
now I'm sure that the problem resides somewhere else (because this code must obviously work) but I dont know where to look for it.
Good Luck!
Reza Nassabeh
Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.