473,473 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Breadcrumbs and my menu

If you make the Breadcrumbs control use the site map, is there a way
to not show certain things that can be visible in the site map, but
not in the main navidation menu?

I ask, as I have an item on my menu: Organisations

I click that, and I can edit the Org, or I can select a branch from a
grid. The bread crumbs should just show, 'Organisations'.

When I select a branch, the breadcrumbs should then read Organisations
Branch.
I don't want a user to be able to navidate directly to a branch from
the main menu. I am new to ASP.net, but I was told that we would need
2 site maps. That seems wrong.

Is there a way for this to work?
Jun 27 '08 #1
1 1141
You can programmatically adjust which nodes the breadcrumb and menu controls
display at runtime by navigating their object models and node collections
and adding/removing nodes as necessary.
But likely the only way to handle this situation declaratively (purely at
design time) would be to use 2 site maps.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
<in**@listerhome.comwrote in message
news:f8**********************************@u36g2000 prf.googlegroups.com...
If you make the Breadcrumbs control use the site map, is there a way
to not show certain things that can be visible in the site map, but
not in the main navidation menu?

I ask, as I have an item on my menu: Organisations

I click that, and I can edit the Org, or I can select a branch from a
grid. The bread crumbs should just show, 'Organisations'.

When I select a branch, the breadcrumbs should then read Organisations
>Branch.

I don't want a user to be able to navidate directly to a branch from
the main menu. I am new to ASP.net, but I was told that we would need
2 site maps. That seems wrong.

Is there a way for this to work?
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: diana suganthy via .NET 247 | last post by:
Hi I am new to .net Right now i am learning . I have to create a breadcrumbs trails for the Categories and their subcategories as u have seen it in many sites... Maincetegory > Subcategory...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
9
by: crescent_au | last post by:
Hi everybody, I want to create dynamic breadcrumbs for a site I am developing. I just want to get some views about the algorithm of breadcrumbs. The way I look at it is the concept of parent/...
2
by: empire5 | last post by:
It does not seem skmMenu supports a breadcrumb. I was thinking of using the SiteMap class for the breadcrumb. Has anyone done anything like this? My potential designs are: 1. Using menu.sitemap...
1
by: Anthony | last post by:
Below is a script I found at http://javascript.internet.com/ for a cascading menu. The script works great but there is one thing that I would like modified. BecauseI am just learning javascript,...
5
by: tommylux | last post by:
Hi there So far I have designed a simple template file in PHP: <?php if(!$page) $page="home"; if(file_exists("/my root/public_html/progress/$page.html")) { include("/my...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.