472,983 Members | 2,511 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,983 software developers and data experts.

dynamic use of sitemap to find current pages node

I'm making some custom controls that make use of the current site map, I
need to know what node the current page that is loaded is on in the site map
though, how do you get this information out of the site map? and how do you
go from the current page's node back to the root? thanks!
Oct 28 '06 #1
3 2001
nevermind, just found the sitemap class that has the currentnode property

"Smokey Grindel" <no****@nospam.netwrote in message
news:uY****************@TK2MSFTNGP05.phx.gbl...
I'm making some custom controls that make use of the current site map, I
need to know what node the current page that is loaded is on in the site
map though, how do you get this information out of the site map? and how
do you go from the current page's node back to the root? thanks!

Oct 28 '06 #2
You mean SiteMap object, not class.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Smokey Grindel" <no****@nospam.netwrote in message
news:Oh****************@TK2MSFTNGP03.phx.gbl...
nevermind, just found the sitemap class that has the currentnode property

"Smokey Grindel" <no****@nospam.netwrote in message
news:uY****************@TK2MSFTNGP05.phx.gbl...
>I'm making some custom controls that make use of the current site map, I
need to know what node the current page that is loaded is on in the site
map though, how do you get this information out of the site map? and how
do you go from the current page's node back to the root? thanks!


Oct 29 '06 #3
yes that one *LOL* sorry it was late when i wrote that

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:es****************@TK2MSFTNGP02.phx.gbl...
You mean SiteMap object, not class.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Smokey Grindel" <no****@nospam.netwrote in message
news:Oh****************@TK2MSFTNGP03.phx.gbl...
>nevermind, just found the sitemap class that has the currentnode property

"Smokey Grindel" <no****@nospam.netwrote in message
news:uY****************@TK2MSFTNGP05.phx.gbl...
>>I'm making some custom controls that make use of the current site map, I
need to know what node the current page that is loaded is on in the site
map though, how do you get this information out of the site map? and how
do you go from the current page's node back to the root? thanks!



Oct 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mike | last post by:
I have 2 sites in my company. My .NET site uses a master page and a Menu control connected to a sitemap. In my sitemap file I would like to be able to do something like this: <sitemap>...
3
by: Ray Booysen | last post by:
Hi all I have a treeview bound to a sitemap. Once the user is logged in, I'm wanting the menu to expand to include additional items from a database while retaining the items in the sitemap. Is...
6
by: Dave H | last post by:
I have to questions about SiteMaps 1st) Is there any way to use a wildcard in the SiteMapNode? I'd like: testpage.aspx?Type=Fruit&SubType=Apple and testpage.aspx?Type=Fruit&SubType=Orange ...
4
by: shapper | last post by:
Hello, I am trying to convert an Asp.Net 2.0 XML sitemap file to a Google's sitemap file. I am posting the formats of both files. 1. How can I do the conversion? 2. And can I use an...
1
by: Alec MacLean | last post by:
Hi. I'm using VS2005 Pro to work on a website project for my company. The site has several navigation elements, all based on the standard VS2005 navigation components. I have high-level...
1
by: jesibl | last post by:
Hi All, I have an ASP .NET 2.0 web based app which should change content based on a variable passed in the query string. Let's say the variable is called ID and the variations are A, B and C. ...
5
by: Tim Mackey | last post by:
hi, i have put my web.sitemap in /App_Data so i can edit it programatically via a web admin page, inheriting the modify permissions from the App_Data folder etc. i was hoping the provider would...
2
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
I’m trying to create a dynamic asp.net 2.0 siteMapPath control (using VB.net). Using the xml sitemap I’ve got these three pages: productGroup.aspx productListing.aspx productDetail.aspx ...
0
by: Chris | last post by:
Hi, i have a problem with sitemap combined with roles. I already posted this but i reformulated simplier: here: there are two defined users: user1 and user2 there is one role: manager user1...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.