Popular Usenet Groups

Your one stop shop for all your most popular usenet groups in one place


Categories
Sports Science, Electronics & Maths Hobbies & Recreation
Religion TV & Media Computing - Programming
Music Cycling & Motorsports Computing - General
Photography Computing - Linux Computing - Apple Mac
Others Return to Home Page Register for extra features


Search This Site:

Go Back   Popular Usenet Groups > Computing - Progamming > microsoft.public.dotnet.framework.aspnet

microsoft.public.dotnet.framework.aspnet ASP Net Framework Discussion


 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 24th April 2006, 08:53 PM   #1
JeffP
 
Join Date: Apr 2006
Age: 42
Total Posts: 2
literal & chanracter in anchor tag name

Currently I have a user control which contain a <a href> link tag. I have a
requirement to change the name property of the anchor tag to something like
this:

<a href="somepage.aspx" id"thislink" name="&lid=somename">Link</a>

The problem is that when the aspx page renders this user control, the &
character is converted to <literal>&amp;</literal>. So what I end with is:

<a href="somepage.aspx" id"thislink"
name="<literal>&</literal>amp;lid=somename">Link</a>

Is there any way to force the aspx page to render the & character literally
instead of url encoding it?

JeffP is offline   Reply With Quote
 

Bookmarks


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 01:01 PM.


Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.