Solved

Adding Querystring Data to SiteMapPath

Posted on 2007-11-30
2
1,158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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