|
|
 |
| 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

December 1st, 2003, 02:18 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
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
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 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
Location: , , USA.
Posts: 1,111
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
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 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
Location: , , USA.
Posts: 1,111
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
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 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
Location: , , USA.
Posts: 1,111
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
Location: Copenhagen, , Denmark.
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |