Home All Groups Group Topic Archive Search About
Author
12 Jan 2007 10:11 PM
RedHair
I get a html text encoding issue when I assign the NavigateUrl to a
HyperLink web control,
e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
When I view source from browser, the rendered html text are as below

<A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>

The link works but is there is any way to change the href string to the
original one?

Author
12 Jan 2007 1:11 PM
Goofy
This is exactly what I would expect to see from the source view. So whats
the issue ?

BTW. This was a pretty poor example, as when you click on the link it takes
you to a dodgy s*x site. Please be more careful when putting links into your
questions.

G


Show quoteHide quote
"RedHair" <redhair@u.s.a> wrote in message
news:%23SgC5GgNHHA.4720@TK2MSFTNGP03.phx.gbl...
>I get a html text encoding issue when I assign the NavigateUrl to a
>HyperLink web control,
> e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
> When I view source from browser, the rendered html text are as below
>
> <A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>
>
> The link works but is there is any way to change the href string to the
> original one?
>
Author
30 Jan 2007 3:21 AM
Mr. SweatyFinger
Maybe that is his real website.
Maybe those are his employees
Author
15 Jan 2007 9:21 AM
Patrice
I would left this unchanged as this is the recommended way to encode
ampersands in URLs.

Note that this doesn't change anything as this is just a way to write
correctly & in *HTML* that is the link received by the web server is the
same in both cases....

See :
http://www.htmlhelp.com/tools/validator/problems.html.en#amp
for details...

Patrice


"RedHair" <redhair@u.s.a> a écrit dans le message de news:
%23SgC5GgNHHA.4***@TK2MSFTNGP03.phx.gbl...
Show quoteHide quote
>I get a html text encoding issue when I assign the NavigateUrl to a
>HyperLink web control,
> e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
> When I view source from browser, the rendered html text are as below
>
> <A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>
>
> The link works but is there is any way to change the href string to the
> original one?
>
Author
16 Jan 2007 2:11 PM
Dariusz Tomon
Hello

To formalize the discussion - can you change the date on your computer
please?
Your question is always on the top till 12-th February :)

BR

Dark

Show quoteHide quote
"RedHair" <redhair@u.s.a> wrote in message
news:%23SgC5GgNHHA.4720@TK2MSFTNGP03.phx.gbl...
>I get a html text encoding issue when I assign the NavigateUrl to a
>HyperLink web control,
> e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
> When I view source from browser, the rendered html text are as below
>
> <A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>
>
> The link works but is there is any way to change the href string to the
> original one?
>
Author
16 Jan 2007 2:22 PM
Eliyahu Goldin
You can just delete the message. At least in the Outlook Express.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


Show quoteHide quote
"Dariusz Tomon" <d.to***@mazars.pl> wrote in message
news:e3K0KhXOHHA.4172@TK2MSFTNGP03.phx.gbl...
> Hello
>
> To formalize the discussion - can you change the date on your computer
> please?
> Your question is always on the top till 12-th February :)
>
> BR
>
> Dark
>
> "RedHair" <redhair@u.s.a> wrote in message
> news:%23SgC5GgNHHA.4720@TK2MSFTNGP03.phx.gbl...
>>I get a html text encoding issue when I assign the NavigateUrl to a
>>HyperLink web control,
>> e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
>> When I view source from browser, the rendered html text are as below
>>
>> <A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>
>>
>> The link works but is there is any way to change the href string to the
>> original one?
>>
>
>
Author
16 Jan 2007 9:29 PM
Scott M.
But why should we have to?  Future posting is a bad "no no".


Show quoteHide quote
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldD***@mMvVpPsS.org> wrote in
message news:%23cV7OoXOHHA.4376@TK2MSFTNGP02.phx.gbl...
> You can just delete the message. At least in the Outlook Express.
>
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Dariusz Tomon" <d.to***@mazars.pl> wrote in message
> news:e3K0KhXOHHA.4172@TK2MSFTNGP03.phx.gbl...
>> Hello
>>
>> To formalize the discussion - can you change the date on your computer
>> please?
>> Your question is always on the top till 12-th February :)
>>
>> BR
>>
>> Dark
>>
>> "RedHair" <redhair@u.s.a> wrote in message
>> news:%23SgC5GgNHHA.4720@TK2MSFTNGP03.phx.gbl...
>>>I get a html text encoding issue when I assign the NavigateUrl to a
>>>HyperLink web control,
>>> e.g. HyperLink.NavigateUrl = "http://www.xxx.com/yyy.aspx?A=1&B=2&C=3"
>>> When I view source from browser, the rendered html text are as below
>>>
>>> <A herf=http://www.xxx.com/yyy.aspx?A=1&amp;B=2&amp;C=3 ></a>
>>>
>>> The link works but is there is any way to change the href string to the
>>> original one?
>>>
>>
>>
>
>
Author
30 Jan 2007 4:51 PM
Rob Meade
"Scott M." wrote ...

> But why should we have to?  Future posting is a bad "no no".

Agreed, lets chain him up and throw copies of HTML for dummies at him....

:o)

Rob