🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.aspdotnet.components.using
4 messages
4 total messages Started by calmdown Sun, 08 Jan 2006 17:32
delphi 2006 - is this a bug ?
#155
Author: calmdown
Date: Sun, 08 Jan 2006 17:32
23 lines
1683 bytes
hi
when i define an itemtemplate in a datagrid like

<a href="details.aspx?id=<%# DataBinder.Eval
(Container.DataItem,"customerid") %>&title=<%#
DataBinder.Eval(Container.DataItem,"customerid") %>">Details for <%#
DataBinder.Eval(Container.DataItem, "customerid")%></a>

after saving , it becomes
<a
            href="details.aspx?id=<%# DataBinder.Eval (Container.DataItem,"
            customerid= customerid=>Details for <%#
DataBinder.Eval(Container.DataItem, "customerid")%></a>


and gives error during compile.

but the same code works in vs2005

please help me

thanks in advance
Re: delphi 2006 - is this a bug ?
#156
Author: calmdown
Date: Sun, 08 Jan 2006 17:42
35 lines
1818 bytes
i changed " as ' ... and it works.
is this correct solution ?

  <a href='webform1.aspx?id=<%# 
DataBinder.Eval(Container.DataItem,"customerid")%>'>sdf</a>

"calmdown" <calmdown@gmail.com>, haber iletisinde �unlar� 
yazd�:43c14c12@newsgroups.borland.com...
>
> hi
> when i define an itemtemplate in a datagrid like
>
> <a href="details.aspx?id=<%# DataBinder.Eval
> (Container.DataItem,"customerid") %>&title=<%#
> DataBinder.Eval(Container.DataItem,"customerid") %>">Details for <%#
> DataBinder.Eval(Container.DataItem, "customerid")%></a>
>
> after saving , it becomes
> <a
>            href="details.aspx?id=<%# DataBinder.Eval (Container.DataItem,"
>            customerid= customerid=>Details for <%#
> DataBinder.Eval(Container.DataItem, "customerid")%></a>
>
>
> and gives error during compile.
>
> but the same code works in vs2005
>
> please help me
>
> thanks in advance
>
>
>
> 
Re: delphi 2006 - is this a bug ?
#157
Author: Steve Trefethen (Borland R&D)
Date: Mon, 09 Jan 2006 17:36
12 lines
1243 bytes
calmdown wrote:
> i changed " as ' ... and it works.
> is this correct solution ?

Yes.

-- 
-Steve
Delphi.NET/C#Builder R&D
Borland Software Corporation
http://homepages.borland.com/strefethen
http://blogs.borland.com/stevet
Re: delphi 2006 - is this a bug ?
#158
Author: calmdown
Date: Fri, 13 Jan 2006 20:23
22 lines
1625 bytes
is this compatible with all browsers Firefox mozilla opera netscape so on

because i guess typical usage of this tag is like
<a href="x.html">Go to x</a>




"Steve Trefethen (Borland R&D)" <strefethen@non.junk.borland.deleteme.com>, 
haber iletisinde sunlari yazdi:43c29de9$1@newsgroups.borland.com...
> calmdown wrote:
>> i changed " as ' ... and it works.
>> is this correct solution ?
>
> Yes.
>
> -- 
> -Steve
> Delphi.NET/C#Builder R&D
> Borland Software Corporation
> http://homepages.borland.com/strefethen
> http://blogs.borland.com/stevet 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads