CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/6/2007 5:44:15 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 216 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
diadem_2k
Asp.Net User
how to do this with SiteMapNode ??6/6/2007 5:44:15 AM

0

I am developing a new application which has following pages: Tools.aspx (start up page) and Specifications.aspx. Now i have constructed sitemap files as follows (see below)

but my requirement is as follows: 

when the user is on tools.aspx, he should ONLY see like this : Home ----> Products ---> which means breadcrumb should NOT show the current page ??? and when he moves to next page (which is Specifications.aspx page), then he should see the breabcrumb like this:

 Home ----> Products --->Tools --->

I might be confusing u guys...let me know i can try to explain it clearly......help me out here....thanks a lot once again

----------------------------------------------- 

<?xml version="1.0" encoding="utf-8" ?>
<siteMap>

    <siteMapNode title="Home" description="" url="http://www.google.com">

        <siteMapNode title="Products" description="" url="http://www.google.com/gmail">

            <siteMapNode title="Tools" description="" url="tools.aspx">

                <siteMapNode title="Specifications" description="" url="Specifications.aspx">

                </siteMapNode>

            </siteMapNode>

        </siteMapNode>

    </siteMapNode>

</siteMap>

 

benderm
Asp.Net User
Re: how to do this with SiteMapNode ??6/6/2007 6:51:23 AM

0

To do this, you can set the cssclass of the CurrentNodeStyle of the sitemappath.  In the css class set visibility:hidden; This will stop the sitemappath from displaying the current node.

 

<asp:SiteMapPath ID="SiteMapPath1" runat="server">
            <CurrentNodeStyle CssClass="HideMe" />
        </asp:SiteMapPath>

 

.HideMe

{

 visibility:hidden;




Don't forget to click "Mark as Answer" on the post that helped you.
This marks your thread as Resolved so we will all know you have been helped.
diadem_2k
Asp.Net User
Re: how to do this with SiteMapNode ??6/6/2007 3:47:13 PM

0

Hmm...that makes sense....thanks alot --- it worked
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in C# 2008: from novice to professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
PROFESSIONAL ASP.NET 3.5 IN C# AND VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1728, Published: 2008
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1464, Published: 2006

Web:
how to do this with SiteMapNode ?? - ASP.NET Forums how to do this with SiteMapNode ?? Last post 06-06-2007 11:47 AM by diadem_2k. 2 replies. Sort Posts: Oldest to newest, Newest to oldest ...
Visual Studio .NET How do you update a SiteMapNode URL? site navigation structure, the fixups that are made do not // effect the overall site navigation structure. SiteMapNode currentNode ...
SiteMapNode Class (System.Web) Clear() ' Parse the file and build the site map Dim s As String = "" Dim nodeValues As String() = Nothing Dim temp As SiteMapNode = Nothing Do s = sr. ...
Is there a method of making a sitemapnode not visible - bytes menuitem) I can do it by creating a sitemapnode without a url and placing the sitemapnode that I want invisible under it. ...
make a siteMapNode not "clickable" - ASP.NET Forums in short, do not link to anything, but I still want a breadcrumb to the previous page. ...

how to do this with SiteMapNode ?? - ng.asp-net-forum ... how to do this with SiteMapNode ??, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls, ...
How do I add SiteMapNode "custom attributes" programmatically ... How do I add SiteMapNode "custom attributes" programmatically?, > ROOT > NEWSGROUP > Asp.Net Forum ...
web.sitemap - Exactly one siteMapNode! required inside element ... Nov 3, 2006 ... You can only have ONE siteMapNode per siteMap. How do you get around it? You trick it. You can have as many nested SiteMapNodes in a ...
Treeview hide sitemap node... - ng.asp-net-forum ... I have a Sitemap with SiteMapNodes 1, 2, 3 and 4. I have a treeview on a page that is connected to this Sitemap. When the page loads, I do ...
Sitemap nodes must have unique URLs!!! - ng.asp-net-forum ... Sitemap nodes must have unique URLs!!!, > ROOT > NEWSGROUP > Asp.Net Forum ... if you need to do this one way is to add params to the URL: ...






how to display query result

server.transfer

trying to understand a feature in myspace.

what i do wrong with my path?

how to implement such a complex datagrid, a tough datagrid question.

email not being sent and no errors !!

lost images with path change

sharing code behind page

check available system resources

using the configurationmanager class in a class library

query on enum

.net, formatting,checkboxlists aka make listitem invisible...

hyperlink in email body

table sizing

lost session state

best way to do comments..

xml file -> msde tables

best architecture to get graphs with office web component

display binary data

repeater and data for it

variable scope

ltpa token

c# || operator question

capturing information from ups when power is down

server error in '/' application.

help! read remote registry

.net connect process to sql 2000 sp4

date problems

changing button forecolor at runtime

cannot get formsauthentication session timeout and sessionstate timeout to work in harmony

   
  Privacy | Contact Us
All Times Are GMT