Reputation: 727
I would like to do links of pages that will tell where you are. In other words something like this;
You are here: ASP Free Forums > Programming > ASP Development >
I am using ASP.net c#.
Any suggestions of how I can do this.
Upvotes: 0
Views: 199
Reputation: 65391
You need to add breadcrumb navigation, see: http://msdn.microsoft.com/en-us/library/aa581781.aspx for a tutorial.
Note the above link is for ASP.Net. Your question states ASP.net, but your tags refer to classic asp. The link above works for ASP.Net. Look under "Step 4: Adding Breadcrumb Navigation".
For our site, add this control to the header <div>
:
<span class="breadcrumb">
<asp:SiteMapPath ID="SiteMapPath1" runat="server">
</asp:SiteMapPath>
Upvotes: 1
Reputation: 5251
The simplest way in ASP.NET is to use a SiteMapPath control:
<asp:SiteMapPath ID="Breadcrumb" runat="server">
</asp:SiteMapPath>
Upvotes: 2