 |
| ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

December 1st, 2003, 02:18 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Site navigation
Is there any special code to code the site navigation for a website?
IE. http://www.buy.com/retail/videos/category.asp?loc=323
Look at the "Home > DVD > Action" part.
|
|

December 1st, 2003, 02:30 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Are you referring to the breadcrumb bit at the top? That's just some links. You'll have to write that out based on what "section(s)" of the site your user is in.
Peter
------------------------------------------------------
Work smarter, not harder.
|
|

December 1st, 2003, 02:43 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
A built in feature like that would be nice for 2.0.
:)
|
|

December 1st, 2003, 02:51 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
How could that be useful? That type of thing is completely subject to site design, placement, layout, etc. And there isn't anything in ASP.net that defines "levels" of an application. That's all up to the developer to construct a site with a hierachical organizational and navigation metaphor.
Peter
------------------------------------------------------
Work smarter, not harder.
|
|

December 1st, 2003, 03:01 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
It would make people design a certain way and in my opinion the correct way. That way you have good site management. Each 'category' of links like in the example 'DVD' and then 'Action' would be in a folder to avoid site clutter. And the code could read the folder and add it to the site nav. part. IE. Home >> DVD >> Action.
Just a thought.
|
|

December 1st, 2003, 03:08 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
That seems kind of restrictive and inflexible. Building something like this wouldn't really be all that difficult.
If you construct a web application where all the pages inherit from a base page, then you could have shared properties and settings and even a layout that would do all of this automatically for you.
Look here for more.
|
|

December 1st, 2003, 03:14 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
I just coded something easy. I'm using a function and I added a label and i take what page the user clicks and add a '>' and what link they clicked on shows up like this: 'Home > Optical Digital Cables'. Simple, but it works for now.
|
|

December 1st, 2003, 06:03 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
As Peter already knows some people might do as I have done... For my web application I have only got one .aspx page! There is so many different ways to design your system.
I agree with Peter on this. However I have got some problems with breadcrumbs aswell. This not due to implementation, but rather concept... Is there a standard of how they should work, like an RFC or a W3C recommendation...!?
Jacob.
|
|
 |