468,253 Members | 1,288 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

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 1872
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by mike | last post: by
3 posts views Thread by Ray Booysen | last post: by
6 posts views Thread by Dave H | last post: by
4 posts views Thread by shapper | last post: by
5 posts views Thread by Tim Mackey | last post: by
2 posts views Thread by =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post: by
reply views Thread by Chris | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.