DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us