Adding Querystring Data to SiteMapPath

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
LVL 1
MiddlesbroughPCTAsked:
Who is Participating?
 
TSmoothConnect With a Mentor Commented:
This article should answer your problem I believe:
http://msdn2.microsoft.com/en-us/library/ms178425(vs.80).aspx
0
 
MiddlesbroughPCTAuthor Commented:
I'll need to work through if I can it in a loop until the root is found but that should be fine.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.