Hi
Can you advise please any solution?
I have a SiteMapPath control and instead of default functionality like
Home > Accounts > User Account
where “User Account” refers to ~/UserAccount.aspx
I would like to overwrite the last node to show info about a current user, i.e.:
Home > Accounts > John White
and “John White” refers to ~/UserAccount.aspx?id=111 ?
Yeah, you have to inherit from the
XmlSiteMapProviderand override itsBuildSiteMapmethod. In here you can manipulate any nodes you want at runtime, which will then show up in yourSiteMapPathcontrol.