Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Adding Querystring Data to SiteMapPath

Posted on 2007-11-30
2
Medium Priority
?
1,201 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

810 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