Solved

Adding Querystring Data to SiteMapPath

Posted on 2007-11-30
2
1,156 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

831 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