From: maury on 27 Jan 2010 11:36 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; 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 27 Jan 2010 12:02 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; > > GREAT! This is a great idea! It works!!!! > > But can you explain me what's the problem with my code? > > Thanks & 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 28 Jan 2010 17:03 On 27 Gen, 18:02, Alexey Smirnov <alexey.smir...(a)gmail.com> wrote: > & 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 29 Jan 2010 03:07 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: > > > & 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.
|
Pages: 1 Prev: pause in microsecund Next: AjaxControlToolkit namespace problem. |