Solved

Adding Querystring Data to SiteMapPath

Posted on 2007-11-30
2
1,145 Views
Last Modified: 2012-06-27
Hi all,

I'm trying to add specific querystring data to nodes in my SiteMapPath but am having some difficulty.

So for example I have...

HOME > USER SEARCH -> USER PROFILE - > EDIT PROFILE

I want it to include the userID variable, when I'm in Edit Profile to the Edit Profile link and also one node back, User Profile.

As it's only small site, I can try and go from the current node back to the root and manually check the rootnode.URL method to do this for exact page URLS, but I'm a bit stuck on how to recursively go backwards through my SiteMapPath data.

Thanks for looking
0
Comment
Question by:MiddlesbroughPCT
2 Comments
 
LVL 16

Accepted Solution

by:
TSmooth earned 500 total points
ID: 20381746
This article should answer your problem I believe:
http://msdn2.microsoft.com/en-us/library/ms178425(vs.80).aspx
0
 
LVL 1

Author Closing Comment

by:MiddlesbroughPCT
ID: 31411898
I'll need to work through if I can it in a loop until the root is found but that should be fine.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now