473,666 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Breadcrumb Navigation bar

I'm trying to build a breadcrum navigation bar for my website....plea se can
some one suggest me ways...It's a 100 page site and I need it for navigation
with the site....Thank you

--
Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...p-net/200609/1

Sep 8 '06 #1
3 2401
I had designed a breeadcrumb in my previous project based on the URL.
If your site is structered well, you parse the URL and render out the
default page of each level.

For example if URL is
www.test.com/Market/Business/Brand.aspx
Breadcrumb renders it as
Home->Market->Business

Hope this help you.

Best regards,
Krishna
http://www.bitlasworld.com/

DBdealer via DotNetMonster.c om wrote:
I'm trying to build a breadcrum navigation bar for my website....plea se can
some one suggest me ways...It's a 100 page site and I need it for navigation
with the site....Thank you

--
Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...p-net/200609/1
Sep 8 '06 #2
The ASP.NET 2.0 SiteMapPath is used to generate breadcrumb navigation. Get
into it by starting with this search term...

breadcrumb site:msdn2.micr osoft.com

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W

"DBdealer via DotNetMonster.c om" <u26307@uwewrot e in message
news:65fba4c535 ee2@uwe...
I'm trying to build a breadcrum navigation bar for my website....plea se
can
some one suggest me ways...It's a 100 page site and I need it for
navigation
with the site....Thank you

--
Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...p-net/200609/1

Sep 8 '06 #3
Actually I'm using ASP.net 1.1.....so I don't get that control, I have to
create it manually....I'm being able to trace the previous page and split it
up into several parts as

'tracks the referrer url------>http://serverpath/username/page name
strUser = Request.UrlRefe rrer.ToString

'separate the string------http://serverpath/username
str1 = strUser.Substri ng(0, strUser.LastInd exOf("/"))

'separate the "serverpath "------>http://serverpath
str2 = str1.Substring( 0, str1.LastIndexO f("/"))
Session("server path") = str2

'separate the page name -------->/page name
tot_len = Len(strUser)
str3 = strUser.Substri ng(Len(str1) + 1, Len(strUser) - Len(str1))

Now the logic is to memorize this page name with an appropriate tag in a
some thing (array, stack.......or may be in the DB) My question is how to
performe this? Please help

--
Message posted via http://www.dotnetmonster.com

Sep 11 '06 #4

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

Similar topics

2
2907
by: Eric | last post by:
I am looking for a breadcrumb class in PHP that does not rely on the directory structure to build the trail. I have been using Richard Baskettes - http://www.baskettcase.com/classes/breadcrumb/ - breadcrumb classes and they are great... BUT. I have a site that is being built using templates and the directory hierarchy can not be used to create the trail. Sorry if you read this post in alt.lang.php.
2
4094
by: Ray | last post by:
I want to put a navigation bar on a page like: <img> Home >> My Family >> My Daughters >> Melissa >> Three-year-old First I used <ul class="breadcrumb"> <li><img src="icon.gif" alt="icon"><a href="/">Home</a></li> <li><a href="myfamily.html">My family</a></li> <li><a href="mydaughters.html">My Daughters</a></li> <li><a href="Melissa.html">Melissa</a></li> <li>Three-year-old</li>
2
6744
by: | last post by:
I'd want to make a custom class that will generate breadcrumb navigation for my site via a recursive query, e.g. Home > Page1 > Subpage 1. I've structured my database with hierarchical parent/child relationships. Can someone help me set up the code structure? I'm using ASP VBScript, and I have a table structure similar to the following: NavItems ----------
2
1557
by: Simon Harris | last post by:
Hi All, Anyone done a bread crumb trail in asp.net? I mean the type of navigation you can see above - 'Viewing: bla > bla2 > bla3' I need to develop one for a site i'm working on, just not sure where to start. I've found plenty that work by tracking the directories, e.g. if the user was at http://www.whatever.com/animals/fish/cod/index.aspx then the breadcrumb trail would display 'Animals > Fish > Cod'. Only problem is my site is...
1
3539
by: TG | last post by:
I would like to know how to create a breadcrumb trail or menue in ASP.NET/VB.NET. Could someone please help me with this? Thank you. TG
3
5196
by: Mark | last post by:
I can envision a situation where I want part of our site to be navigated using a TreeView, and ALL of our site to have a Breadcrumb (SiteMapPath control). Is there a way to maintain a single SiteMaptDataSource (Web.sitemap) for both, but only have 1/2 of the nodes visible in the TreeControl, and have ALL the nodes visible in the Breadcrumb? We could maintain two Web.sitemaps, but that sounds like a annoying maintenance issue. Thanks...
1
1909
by: Mike | last post by:
Hi, I'm a complete newbie to XML and am needing to rush through a job requiring far more knowledge than I have the time to gather. Basically... I need to build a breadcrumb menu for our website, using a passed URL and an XML menu string, what has been retrieved from an SQL server (we need to support no-script clients, hence the use of the request URL). Essentially I need to do the following::
1
2763
by: Red | last post by:
Hi, Can someone give me a starting point, as I can't figure this out myself. I want to create a breadcrumb trail on a site, but instead of being generated by cookies or a directory structure, it needs to be database driven. My website details hundreds of products, each belonging to a category. Each category can belong to a parent category, and so on. My site will feature master/detail pages, and both need to feature a
3
4126
by: Justino | last post by:
Hi, I'm trying to integrate breadcrumb based navigation on my site, but have hit a wall. I have an array that pulls from a MySQL data tree (hierarchical) based on a variable passed in the url. http://www.mysite.com?category=apples will output food fruit > apples. I have everything working but instead of passing the string in the url I'd rather pass the numerical id and use the string for displaying only. I used the ‘adjacency list...
0
8444
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8639
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5664
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
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 we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.