From: maury on
On 27 Gen, 17:16, Alexey Smirnov <alexey.smir...(a)gmail.com> wrote:
> Hm, I don't know why you may need it but you can try
>
> &amp;amp;

GREAT! This is a great idea! It works!!!!

But can you explain me what's the problem with my code?

Thanks

From: Alexey Smirnov on
On Jan 27, 5:36 pm, maury <i...(a)talo.it> wrote:
> On 27 Gen, 17:16, Alexey Smirnov <alexey.smir...(a)gmail.com> wrote:
>
> > Hm, I don't know why you may need it but you can try
>
> > &amp;amp;
>
> GREAT! This is a great idea! It works!!!!
>
> But can you explain me what's the problem with my code?
>
> Thanks

&amp; is an html code of & and it seems that IDE replaced it here
because it thinks you makes an url. Why do you use String.Concat
method there? Maybe this is the reason
From: maury on
On 27 Gen, 18:02, Alexey Smirnov <alexey.smir...(a)gmail.com> wrote:
> &amp; is an html code of & and it seems that IDE replaced it here
> because it thinks you makes an url. Why do you use String.Concat
> method there? Maybe this is the reason

This is only an example page, the real code is much more
complicated...

Note that also the html control <img ...runat='server'
has the same behaviour but <asp:Image
web control isn't affected by this problem, it renders fine...

bye

From: Alexey Smirnov on
On Jan 28, 11:03 pm, maury <i...(a)talo.it> wrote:
> On 27 Gen, 18:02, Alexey Smirnov <alexey.smir...(a)gmail.com> wrote:
>
> > &amp; is an html code of & and it seems that IDE replaced it here
> > because it thinks you makes an url. Why do you use String.Concat
> > method there? Maybe this is the reason
>
> This is only an example page, the real code is much more
> complicated...
>
> Note that also the html control  <img ...runat='server'
> has the same behaviour but <asp:Image
> web control isn't affected by this problem, it renders fine...
>
> bye

Please ignore my last comment. This, of course, comes not from IDE,
but from ASP.NET. When html control has runat="server" ASP.NET does
html-decoding. Try to remove runat="server" from the link and see what
happens.