?
Solved

asp.net hyperlink change & to &

Posted on 2013-06-19
3
Medium Priority
?
321 Views
Last Modified: 2013-06-19
if I try to set the NavagateURL in the code behind,


<asp:HyperLink NavigateUrl="./editauto.aspx?prod=1&group=234" />
I get this:

the page rendered shows: ./editauto.aspx?prod=1&amp;group=234

how can I get it to stop changing "&" to "&amp;"

thanks
0
Comment
Question by:john
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 39260622
You're not supposed to, that is the correct way to do that.  The server is supposed to change it back automatically.  Is it causing you an actual problem on 'editauto.aspx'?
0
 

Author Closing Comment

by:john
ID: 39260630
I think the problem is in visual studio. It seems to work intermittently.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39260652
Interesting.  It's known that the 'web server' in Visual Studio is not as complete as IIS or Apache.  Anyway, thanks for the points.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question