This is a migrated thread and some comments may be shown as answers.

How to suppress the > arrow on parent nodes

1 Answer 43 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shane Milton
Top achievements
Rank 2
Shane Milton asked on 12 May 2010, 06:08 PM
I have a sitemap that looks something like this:

<siteMap> 
   <siteMapNode title="Home"
      <siteMapNode title="Sales"
         <siteMapNode title="Customer Profile"
            <siteMapNode title="Businesses" controller="Business" action="Index"
               <siteMapNode title="Specific Business" controller="Business" action="Details" visible="false" /> 
            </siteMapNode> 
            <siteMapNode title="Facilities" controller="Facility" action="Index" /> 
 

The "Specific Business" node represents the page where I'm looking at a specific business where an ID is specified. However, this page is worthless when an ID is not specified, so I don't really want it to be navigable via the menu. However, I do want the breadcrumb in the menu when I'm on it. Doing it in the way I have it gives me exactly what I want with the exception being that the "Businesses" node has an > arrow indicating that it can be expanded when it really can't since 100% of its children have visible=false set.

Thanks in advance! :-)

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 May 2010, 08:43 AM
Hello Shane Milton,

You have to use custom code to remove the items instead of making them invisible. Or use CSS to hide the image.

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
Shane Milton
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Share this question
or