473,473 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Possible to hide siteMapNode from menu?

Hi all,

I'm using a web.sitemap file and the site navigation controls. I've got a
page (ListRecords.aspx) that contains a grid, from where you can click
through to another page (DisplayRecord.aspx) to view details.

In the SiteMapPath control, I want the two pages do display as follows
(which, works)

Home > List Records
Home > List Records > Display Record

However, since DisplayRecord.aspx has a querystring, it doesn't make sense
to access this page any way other than from ListRecords.aspx, however, I'm
using a SiteMenu control., and since I want drop-downs for other sections,
my "Display Record" link also appears in the drop-down (and gives a nice
error if you click it, because there's nothing on the qs).

Is there any way to hide particular nodes, something like

<siteMapNode title="xyz" url="xyz" visible="false" />

? I've checked the docs and can't find anything, but I'm sure there has to
be a way??

Thanks,
Nov 19 '05 #1
0 1673

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

Similar topics

0
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">...
0
by: prefersgolfing | last post by:
I'm using web.sitemap to generate the menu for my site. I need an sitemapnode entry, which contains a url to another site, to open in a new window. Can this be done? Thanks.
4
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. ...
0
by: Chris | last post by:
Hi, i have a problem with the visibility of my sitemap. There is one role defined: "manager" There are two users: 'user1' (member of role manager) and 'user2' (not member). The login.aspx...
6
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...
0
by: BVM | last post by:
Hi, I have a menu and a SiteMap. I try to include an image in the menu. I do like this in Sitemap: <siteMapNode url="~/Project.aspx" title="Project Information" description="Project...
0
by: Mark B | last post by:
I want to make the "Log Out" submenu for the top menu "My Account" disappear when someone isn't logged in. How can I do this? I couldn't see a Visible property for the SiteMapNode.
0
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
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.