|
|
|
start date: Mon, 20 Aug 2007 04:32:01 -0700,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Alhambra Eidos Kiquenet
|
|
2
Nathaniel Greene am
|
Quotes: The server tag is not well formed.
Hi mister,
In my itemtemplate:
<tr
id="filaListado"
runat="server"
name='<%# "filaListado" + Eval("idtareasworkflow") %>'
class='<%# Container.ItemIndex % 2 == 0 ? "ItemStyle" :
"AlternatingItemStyle" %>'
onclick='<%# String.Format("SeleccionarFilaListado(this,{0},'{1}');",
Eval("idtareasworkflow"), Eval("Offset") ) %>'
>
I get this error: The server tag is not well formed.
But it's right if
onclick='<%# String.Format("SeleccionarFilaListado(this,{0},{1});",
Eval("idtareasworkflow"), Eval("Offset") ) %>'
ATTENTION: replace '{1}' by {1} , and it's works fine.
The problem is the quote '.
Any help about it ? I'll be very grateful for any solution and comments.
Thanks in advance.
Greetings and Regards.
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
www.trabajobasura.com/solusoft
Date:Mon, 20 Aug 2007 04:32:01 -0700
Author:
|
RE: Quotes: The server tag is not well formed.
Try doing
\"{0}\"
"Alhambra Eidos Kiquenet" wrote:
> Hi mister,
>
> In my itemtemplate:
>
> <tr
>
> id="filaListado"
>
> runat="server"
>
> name='<%# "filaListado" + Eval("idtareasworkflow") %>'
>
> class='<%# Container.ItemIndex % 2 == 0 ? "ItemStyle" :
> "AlternatingItemStyle" %>'
>
> onclick='<%# String.Format("SeleccionarFilaListado(this,{0},'{1}');",
> Eval("idtareasworkflow"), Eval("Offset") ) %>'
>
> >
>
> I get this error: The server tag is not well formed.
>
> But it's right if
>
> onclick='<%# String.Format("SeleccionarFilaListado(this,{0},{1});",
> Eval("idtareasworkflow"), Eval("Offset") ) %>'
>
> ATTENTION: replace '{1}' by {1} , and it's works fine.
>
> The problem is the quote '.
>
> Any help about it ? I'll be very grateful for any solution and comments.
> Thanks in advance.
>
> Greetings and Regards.
>
> --
> http://www.alhambra-eidos.es/web2005/index.html
> www.kiquenet.net
> www.trabajobasura.com/solusoft
>
Date:Tue, 21 Aug 2007 12:00:00 -0700
Author:
|
|
|