473,833 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SiteMap, SiteMapPath is Escaping Special Characters

We are dynamically changing the title property of nodes in our sitemappath to
reflect the names of products by handling the SiteMapResolve event.

We have some unicode characters in our product names, stored in our db using
escape characters like: "è"

When we set the SiteMapNode.Tit le to that value it is escaped by the
sitemappath to "è" which results in the ampsand and code being printed
out vs the desired character of: è

Any ideas on how to make the sitemappath stop doing this and behave like
other .net controls?

Thanks.
May 8 '07 #1
1 2390
The original characters in this thread are being interpreted by the browser,
so its hard to understand what the problem was, but this issue was resolved
by calling HttpUtility.Htm lDecode on the string before sending it to the
sitemappath.

The special characters were then re-translated by the sitemap and thus
displayed correctly in the browser.

"michaelri" wrote:
We are dynamically changing the title property of nodes in our sitemappath to
reflect the names of products by handling the SiteMapResolve event.

We have some unicode characters in our product names, stored in our db using
escape characters like: "è"

When we set the SiteMapNode.Tit le to that value it is escaped by the
sitemappath to "è" which results in the ampsand and code being printed
out vs the desired character of: è

Any ideas on how to make the sitemappath stop doing this and behave like
other .net controls?

Thanks.
May 9 '07 #2

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

Similar topics

1
3108
by: Danial | last post by:
Hi, How can I bind sitemappath (breadcrumb control of asp.net) to a custom ..sitemap file? By defualt its looking for web.sitemap file and giving me not found exception. Thanks Danial
6
1743
by: Dave H | last post by:
I have to questions about SiteMaps 1st) Is there any way to use a wildcard in the SiteMapNode? I'd like: testpage.aspx?Type=Fruit&SubType=Apple and testpage.aspx?Type=Fruit&SubType=Orange to show resolve the same. The subtype has many possibilities and is passed
1
2485
by: Alec MacLean | last post by:
Hi. I'm using VS2005 Pro to work on a website project for my company. The site has several navigation elements, all based on the standard VS2005 navigation components. I have high-level section navigation provided via a horizontal menu, a SiteMapPath to provide a breadcrumb and a vertical menu component on the left edge.
3
5391
by: Taras_96 | last post by:
Hi everyone, I'm having a bit of trouble understanding the purpose of escaping nulls, and the use of addcslashes. Firstly, the manual states that: "Strictly speaking, MySQL requires only that backslash and the quote character used to quote the string in the query be escaped. This function quotes the other characters to make them easier to read in
2
2422
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
Does anyone know a way to allow duplicate URL's in a sitemap? Here's my problem: I'm designing (almost done) an online store with the following navigational structure: Home / Department / product listing / product detail. Each department and product listing have unique pages but the product detail
3
3007
by: lucius | last post by:
I have a .NET 2.0 web site that is made up of .aspx pages that are done in the Clasic-ASP-looking "inline method". I need to add a SiteMap Control to the pages in the site, and need to see an example of how to do so, since there is no codebehind or compiled thing to use. Thanks.
1
9884
JamieHowarth0
by: JamieHowarth0 | last post by:
Hi guys, So the ever-lasting problem has remained until now - how to create a dynamic sitemap from information stored in a database. Microsoft's MSDN magazine covered how to do this using a custom-made class in C#, specific table architecture and a couple of database triggers (plus how to deal with caching on SQL Server 7 and 2000 - MSSQL 2K5 automatically deals with cache dependencies which handles new sitemap layout and/or content, which...
1
1569
by: Rob Meade | last post by:
Hi all, This is probably the most stupid of stupid questions being that I have been unable to find very much out online so far about it...anyway... I am creating a master page as a template for our teams applications. I have added a sitemap control to it, having read that if the URL's were copies or didn't exist it would error (MSDN site told me this) , I was looking for a way to capture the error and be able to report in a more...
7
4121
by: wannymahoots | last post by:
optparse seems to be escaping control characters that I pass as arguments on the command line. Is this a bug? Am I missing something? Can this be prevented, or worked around? This behaviour doesn't occur with non-control characters. For example, if this program (called test.py): from optparse import OptionParser parser = OptionParser() parser.add_option("-d", dest="delimiter", action="store")
0
9796
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
10500
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
10543
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
10213
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
9323
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...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4422
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 we have to send another system
2
3972
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3078
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.