Hello everyone,
I have a similar issue as described here. I'm using the RadSiteMap within the template of the breadcrumb widget in Sitefinity 5.4. It's rendering too many tags and css classes.
This is my template:
This is what is being rendered:
This is what I need to be rendered:
How can I achieve that, or at the very least remove all the class attributes I don't need?
Thank you!
I have a similar issue as described here. I'm using the RadSiteMap within the template of the breadcrumb widget in Sitefinity 5.4. It's rendering too many tags and css classes.
This is my template:
<div itemprop="breadcrumb" class="rBread"> <telerik:RadSiteMap runat="server" ID="Breadcrumb" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" ClientIDMode="Static" OnNodeDataBound="RadSiteMap_NodeDataBound" OnDataBound="RadSiteMap_OnDataBound"> <DefaultLevelSettings Layout="Flow"> <NodeTemplate> <asp:HyperLink ID="L" runat="server"></asp:HyperLink><asp:Literal ID="Txt" runat="server"></asp:Literal> </NodeTemplate> <SeparatorTemplate> <div></div> </SeparatorTemplate> </DefaultLevelSettings> </telerik:RadSiteMap></div>This is what is being rendered:
<div itemprop="breadcrumb" class="rBread"> <div id="Breadcrumb" class="RadSiteMap RadSiteMap_Default"> <!-- 2012.3.1308.40 --><ul class="rsmFlow rsmLevel rsmOneLevel"> <li class="rsmItem sfBreadcrumbNavigation"><div class="rsmTemplate"> <a id="L" href="/">Home</a> </div> <div></div> </li> <li class="rsmItem sfBreadcrumbNavigation"><div class="rsmTemplate"> <a id="L" href="/contact">Get in touch</a> </div> <div></div> </li> <li class="rsmItem sfNoBreadcrumbNavigation"><div class="rsmTemplate"> Forum </div></li> </ul><input id="Breadcrumb_ClientState" name="Breadcrumb_ClientState" type="hidden" /> </div></div>This is what I need to be rendered:
<div itemprop="breadcrumb" class="rBread"> <a id="L" href="/">Home</a> <div></div> <a id="L" href="/contact">Get in touch</a> <div></div> Forum</div>How can I achieve that, or at the very least remove all the class attributes I don't need?
Thank you!