471,123 Members | 866 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

SiteMapPath not working for pages with anchors on - WHY???

Hi all,

I'm using the ASP.NET sitemappath control and the ASP.NET menu control This
sitemappath control works and shows the path when the page doesn't have an
anchor - for example:

<siteMapNode title="annual report" description="Annual report"
url="Pages/ir_annuals.aspx" />

but the sitemappath control doesn't show the path if the page has the url
with an anchor - for example:

<siteMapNode title="call back" description="Call back solutions."
url="Pages/os_callback.aspx#top" >

The code for the control is:
<asp:SiteMapPath ID="SiteMapPath1" runat="server" ParentLevelsDisplayed="-1"
CurrentNodeStyle-ForeColor="#F80E0D" NodeStyle-ForeColor="#777777"
BackColor="#F5F5F5" BorderWidth="1px" BorderColor="#F80E0D" ></asp:
SiteMapPath>

HELP?????? Thanks in advance.

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200605/1
May 4 '06 #1
5 3115
...

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200605/1
May 4 '06 #2
...

--
Message posted via http://www.dotnetmonster.com
May 4 '06 #3
...

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200605/1
May 4 '06 #4
...

--
Message posted via http://www.dotnetmonster.com
May 4 '06 #5
try replacing the # with
# (including the ;)
in the sitemap .

HTH

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics.com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"Jon via DotNetMonster.com" <u2272@uwe> wrote in message
news:5fbf5bb3a6a33@uwe...
Hi all,

I'm using the ASP.NET sitemappath control and the ASP.NET menu control
This
sitemappath control works and shows the path when the page doesn't have an
anchor - for example:

<siteMapNode title="annual report" description="Annual report"
url="Pages/ir_annuals.aspx" />

but the sitemappath control doesn't show the path if the page has the url
with an anchor - for example:

<siteMapNode title="call back" description="Call back solutions."
url="Pages/os_callback.aspx#top" >

The code for the control is:
<asp:SiteMapPath ID="SiteMapPath1" runat="server"
ParentLevelsDisplayed="-1"
CurrentNodeStyle-ForeColor="#F80E0D" NodeStyle-ForeColor="#777777"
BackColor="#F5F5F5" BorderWidth="1px" BorderColor="#F80E0D" ></asp:
SiteMapPath>

HELP?????? Thanks in advance.

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200605/1

May 4 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Not Me | last post: by
3 posts views Thread by Uriah Piddle | last post: by
reply views Thread by Uriah Piddle | last post: by
2 posts views Thread by Uriah Piddle | last post: by
2 posts views Thread by =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post: by
3 posts views Thread by oaksong | last post: by

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.