473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 2010
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.