Hi,
I've got a RadMenu using a SiteMapDataSource which reads a web.sitemap that has parent nodes with blank URLs. Previous to adding the AntiXSS 4.1 library as the default encoder type, any urls in the web.sitemap which had blank URL's were rendered with a #. For example, if this is in the sitemap;
the node for Help list its href attribute like href=#
However, after adding the AntiXSS 4.1 library the href attribute is rendered like href=%23. Consequently when a user clicks the menu item navigation fails.
Is it possible to make the menu render blank urls with an empty href attribute? Basically, on some of my parent nodes I don't want the user to be able to navigate anywhere, I just want the menu to display the child nodes.
I've got a RadMenu using a SiteMapDataSource which reads a web.sitemap that has parent nodes with blank URLs. Previous to adding the AntiXSS 4.1 library as the default encoder type, any urls in the web.sitemap which had blank URL's were rendered with a #. For example, if this is in the sitemap;
<
siteMapNode
url
=
""
title
=
"Help"
description
=
""
roles
=
"UserRole"
>
<
siteMapNode
url
=
"~/help/faq.aspx"
title
=
"FAQ"
description
=
"FAQ"
roles
=
"UserRole"
/>
</
siteMapNode
>
the node for Help list its href attribute like href=#
However, after adding the AntiXSS 4.1 library the href attribute is rendered like href=%23. Consequently when a user clicks the menu item navigation fails.
Is it possible to make the menu render blank urls with an empty href attribute? Basically, on some of my parent nodes I don't want the user to be able to navigate anywhere, I just want the menu to display the child nodes.