473,473 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

Aug 20 '07 #1
1 1666
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
Aug 21 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Brian van den Broek | last post by:
Hi all, I'm posting partly so my problem and solution might be more easily found by google, and partly out of mere curiosity. I've just spent a frustrating bit of time figuring out why pydoc...
3
by: EdUarDo | last post by:
I think it's a common problem, but I haven't found answers for it. I have a sentence (mixture of HTML, Javascript and JSTL) like this: <a href='javascript:selectItem('${item.code}',...
2
by: Romout | last post by:
Hello, I am currently working on a build solution for multiple c#/vb projects and I'm nearly done. There is one single problem remaining: In case one of the project settings contains a "...
12
by: Brett Hofer | last post by:
I must be missing something - Im a veteran C++ programmer now working with C# overall I like the language but find many weird changes... Anyway Im writing code behind an aspx. In this one C#...
3
by: red floyd | last post by:
I've got some code where somebody cut&pasted some comments from MS Word, and so these comments have "smart quotes" (in particular apostrophes) embedded. The apostrophe is character hex 0x92. ...
7
by: Donlingerfelt | last post by:
I would like to download stock quotes from the web, store them, do calculations and sort the results. However I am fairly new and don't have a clue how to parse the results of a web page download....
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
3
by: bob | last post by:
Hi I have a long regex string that needs to match the quote char. It is matching a CSV text file where all data fields are encased in quotes. Some fields are empty ie double quotes. I want to make...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.