473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.as px?node=hardwar e">

Has it got something to do with PostBack?

Many thanks in advance for any help you can provide.

Stephen
Nov 11 '06 #1
2 1439
I 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" <po********@rye ella.plus.comwr ote in message
news:%2******** ********@TK2MSF TNGP03.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.as px?node=hardwar e">

Has it got something to do with PostBack?

Many thanks in advance for any help you can provide.

Stephen

Nov 11 '06 #2

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.as px?node=hardwar e">

Has it got something to do with PostBack?

Many thanks in advance for any help you can provide.

Stephen
The Default.aspx?no de=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!!

Nov 12 '06 #3

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

Similar topics

1
1924
by: Nate Hekman | last post by:
The documentation for the SiteMapNode class refers to a public property named Item, which is supposed to get a custom attribute from the Attributes collection. But when I include this line in my aspx: <%= SiteMap.CurrentNode.Item %> I get this compiler error: CS0117: 'System.Web.SiteMapNode' does not contain a definition for 'Item'
0
1302
by: Big Chodder | last post by:
Hi I have created a custom SQL SiteMapProvider. I need to localize this and was hoping to do so in the same way I have localized the content for the rest of the site. When I dynamically add my nodes i first create a new node using the following constructor public SiteMapNode (
1
1256
by: Leo | last post by:
I am trying to create a siteMapNode: <siteMapNode title="Finance & Admin" However, it doesn't like the "&" in the string. Do I have to use some escape sequence to make it work?
0
1080
by: David | last post by:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="Menu" description="" roles="*"> <siteMapNode url="~/" title="Home" description="Home"> <siteMapNode url="~/Home.aspx" title="Home" description="Home" /> <siteMapNode url="Todo.aspx" title="To Do" description="To Do" /> <siteMapNode url="http://www.google.com" title="Blah" /> The Home and Todo nodes render in the menu, why doesn't google
1
2909
by: martinalmroth | last post by:
I have made my own SiteMapProvider and it works fine if all the nodes have a unique url. My problem is that some nodes have no url, it is only a node that groups the nodes in categories. When I have several of these category nodes with no url I get an Stackoverflowexception in runtime. Is there a workaround for this or have I implemented the SiteMapProvider wrong. I have developed three different Providers (all of these are build on...
4
11957
by: nesr235 | last post by:
I can't beleive that Microsoft would create the whole Sitemap XML datasource process but not have a TARGET tag. What am I missing? The only place I saw the target tag was at the treeview level. Please tell me that something this basic is at the siteMapNode level and not the Treeview level? Does anyone have a work around for this Design Flaw?
6
18669
by: Max2006 | last post by:
Hi, I need to hide a series of siteMapNodes to certain roles. That means roles have access to the siteMapNode, but the node doesn't appear on the navigation menu. I'll use Response.Redirect to jump to hidden pages. How can I do that? I tried securityTrimmingEnabled="true" in my web.config. But it doesn't help because the pages are accessible to the roles. I just want to hide the pages from the main menu when certain roles login
0
1080
by: ryanmhuc | last post by:
I would like to create a tab menu navigation where all pages under a directory are considered under a specific tab. So when under any page in a directory its tab is considered selected. I have created a tab menu using asp:menu, used the sitemapnodes, and created a tab navigation that where when on the specified page (SiteMapNode) the tab is selected. I did using the following tutorial http://dotnet.sys-con.com/read/86222.htm Is it...
0
2573
by: AAaron123 | last post by:
Is there a method of making a sitemapnode not visible and still have it's title appear in the bread crumbs? The reason for the invisible sitemapnode is so the page appears in the breadcrumbs (even though the page was accessed otherwise than with a menuitem) I can do it by creating a sitemapnode without a url and placing the sitemapnode that I want invisible under it. That way it appears in the bread crumbs but looks it like a top...
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10257
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.