•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 392,072 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,148 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 864 | Replies: 1
![]() |
•
•
Join Date: Mar 2005
Posts: 70
Reputation:
Rep Power: 4
Solved Threads: 3
Hi there,
My plan is just to display the parent and chile page name/id on my wep pages. So what I am trying to do is to put a label control in each page to handle the display. Is there a control that handle this thing. Or how can i do that in code. Sorry i am a newbie in asp.net. Please help.
thnx.
newvbguy
My plan is just to display the parent and chile page name/id on my wep pages. So what I am trying to do is to put a label control in each page to handle the display. Is there a control that handle this thing. Or how can i do that in code. Sorry i am a newbie in asp.net. Please help.
thnx.
newvbguy
If you are using asp.net 2.0 you can use SiteMapPath control to display breadcrumb (if this is what you want
). If you are using asp.net 1.1 (or 2.0) you can use this code:
I hope this is ehat you are looking for.
). If you are using asp.net 1.1 (or 2.0) you can use this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsNothing(Page.Request.UrlReferrer) = False Then
Dim parent As String = Request.UrlReferrer.PathAndQuery.ToString
Me.lblParent.Text = parent.Substring(parent.LastIndexOf("/") + 1)
End If
End SubI hope this is ehat you are looking for.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
- svchost.exe using 100% cpu! (Windows NT / 2000 / XP / 2003)
- DNS Problem - rndc: connect failed: connection refused (*nix Software)
- Ok, i am having a hard time here (C#)
- E-mail (Visual Basic 4 / 5 / 6)
- Having a hard time with an RSS feed (RSS, Web Services and SOAP)
- Trojan I need Help (Viruses, Spyware and other Nasties)
- Filtering data from an access database (Visual Basic 4 / 5 / 6)
- gcd problem (C++)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.Net Error
- Next Thread: inherited class is not found


Linear Mode