Tuesday, March 13, 2012

siteMapNode - What does a node do?

Hi
Using: Visual Web Developer Express 2005
Could someone explain to me what the "node" does
in a path - such as;
<siteMapNode title="Hardware" url="Default.aspx?node=hardware">
Has it got something to do with PostBack?
Many thanks in advance for any help you can provide.
StephenI think it's specific to whatever example this came from. I think, in this
case, that the node variable in the querystring is just to allow for a
content management system to display the correct content. Basically I would
gather that default.aspx is set to pull particular content based on whatever
variable it is passed. It's not actually a requirement of the sitemapnode
url property.
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199...2006
"Stephen" <postmaster@.ryeella.plus.com> wrote in message
news:%23aEs5DZBHHA.4740@.TK2MSFTNGP03.phx.gbl...
> Hi
> Using: Visual Web Developer Express 2005
> Could someone explain to me what the "node" does
> in a path - such as;
> <siteMapNode title="Hardware" url="Default.aspx?node=hardware">
> Has it got something to do with PostBack?
> Many thanks in advance for any help you can provide.
> Stephen
Stephen wrote:
> Hi
> Using: Visual Web Developer Express 2005
> Could someone explain to me what the "node" does
> in a path - such as;
> <siteMapNode title="Hardware" url="Default.aspx?node=hardware">
> Has it got something to do with PostBack?
> Many thanks in advance for any help you can provide.
> Stephen
The Default.aspx?node=hardware 'node' is picked up by Default.aspx
(not sure exactly when load or postback?)
and then there will be some code in that page that does something
with the fact that 'node = hardware'. Having just written this I
realize
that I don't know when it is picked up either!!

0 comments:

Post a Comment