Quote:> I'm building a web site and it's quite important that I have a history
> control on it similar to the one MS uses on their web site in the MSDN .NET
> area. The one at the top of each page (in the main frame) that displays
> something similar to...
> MSDN Home > MSDN Library > .NET Development > .NET Framework SDK
> ...has anyone built or seen something like this?
We show how to build hybrid* breadcrumb links custom control in our new book,
and the code happens to be in the sample chapter posted on our Web site. Here's
a link to the first page of that section in the chapter:
* Note that we call them We call them "hybrid" breadcrumb links because most of
the sample application pages display (simple, in this case) hierarchical
breadcrumb links. But certain pages are accessible from 3 different points in
the hierarchy (search page, browse page, and home page). When we display those
pages, we provide breadcrumb links that reflect the actual navigation
sequence -- making it easy for the visitor to return to the previous search,
browse, or home page.
In this sample application, the hierarchy is not complex, so you won't be able
to see too much about that aspect.
However, I can also give you some hints about how to implement more complex
hierarchical breadcrumb links. (We implement this for our Web site:
smartisans.com). We keep track of the hierarchy in a .resx file.
For example the portfolio page is described in the .resx file with these pieces
<value>What We've Done</value>
<value>Check out some of our completed projects.</value>
and it links to these pages, which are at the bottom of the hierarchy and are
described as follows in the .resx file:
<value>Logos and Banners</value>
Of course this isn't all of it, but you can see that using this sort of data,
it's possible to construct (via custom controls) both menu links and breadcrumb
New look; new content: http://www.smartisans.com/
Hot off the press!
"Programming the Web with Visual Basic .NET"