|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Breadcrumb Navigation barI'm trying to build a breadcrum navigation bar for my website....please 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.com http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200609/1 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.com wrote: Show quote > I'm trying to build a breadcrum navigation bar for my website....please 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.com > http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200609/1 The ASP.NET 2.0 SiteMapPath is used to generate breadcrumb navigation. Get
into it by starting with this search term... breadcrumb site:msdn2.microsoft.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.com" <u26307@uwe> wrote in message news:65fba4c535ee2@uwe...Show quote > I'm trying to build a breadcrum navigation bar for my website....please > 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.com > http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200609/1 > 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.UrlReferrer.ToString 'separate the string------> http://serverpath/username str1 = strUser.Substring(0, strUser.LastIndexOf("/")) 'separate the "serverpath"------>http://serverpath str2 = str1.Substring(0, str1.LastIndexOf("/")) Session("serverpath") = str2 'separate the page name -------->/page name tot_len = Len(strUser) str3 = strUser.Substring(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 |
|||||||||||||||||||||||