This question is locked. New answers and comments are not allowed.
How do I prevent the telerik mvc menu from display some of the nodes in my XML sitemap structure?
For example I don't want certain items under the home category such as dislaimer, privacy policy etc. I used the code from the thread below this one to generate my sitemap/binding but how do I filter nodes I don't want to show in the Menu binding code?
For example I don't want certain items under the home category such as dislaimer, privacy policy etc. I used the code from the thread below this one to generate my sitemap/binding but how do I filter nodes I don't want to show in the Menu binding code?
<mvcSiteMapNode title="Home" controller="Home" action="Index" changeFrequency="Always" updatePriority="Normal"> <mvcSiteMapNode title="Disclaimer" controller="Home" action="disclaimer" /> <-- don't show <mvcSiteMapNode title="Privacy Policy" controller="Home" action="privacy" /> <-- don't show <mvcSiteMapNode title="Legals" controller="Home" action="legals" /> <-- don't show <mvcSiteMapNode title="About Us" controller="AboutUs" action="Index"> <mvcSiteMapNode title="About FPM" action="about-fpm" /> <mvcSiteMapNode title="FPM Awards" action="fpm-awards" /> <mvcSiteMapNode title="Why FPM DMA CFDs" action="why-fpm-dma-cfds" /> <mvcSiteMapNode title="Contact Us" action="contact-us" /> </mvcSiteMapNode>