By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,402 Members | 1,696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,402 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
...

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

P: n/a
...

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

P: n/a
...

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

P: n/a
...

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

P: n/a
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.