473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

The server tag is not well formed

<asp:ImageButton ID="ImageButton2" runat="server"
OnClientClick="javascript:menu('<%# Eval("TableId")');return
false;" />
this is what i want to use!!!

but it occurs just one error like below

Error 5 The server tag is not well formed.
C:\Project2005\WebSite\ks\Book\Book.ascx 74

how can i have to do?

Nov 24 '05 #1
3 7823
I ignore those messages when possible (which you can probably safely do in
this case).

to fix it though, you should try:

OnClientClick='<%# "menu('" + Eval("TableId") + "'); return"%>'

karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"mike" <so**********@gmail.com> wrote in message
news:u3**************@TK2MSFTNGP11.phx.gbl...
<asp:ImageButton ID="ImageButton2" runat="server"
OnClientClick="javascript:menu('<%# Eval("TableId")');return
false;" />
this is what i want to use!!!

but it occurs just one error like below

Error 5 The server tag is not well formed.
C:\Project2005\WebSite\ks\Book\Book.ascx 74

how can i have to do?

Nov 24 '05 #2
Thank you Karl

but it's not working .....the same reason before
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Os**************@TK2MSFTNGP12.phx.gbl...
I ignore those messages when possible (which you can probably safely do in
this case).

to fix it though, you should try:

OnClientClick='<%# "menu('" + Eval("TableId") + "'); return"%>'

karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"mike" <so**********@gmail.com> wrote in message
news:u3**************@TK2MSFTNGP11.phx.gbl...
<asp:ImageButton ID="ImageButton2" runat="server"
OnClientClick="javascript:menu('<%# Eval("TableId")');return
false;" />
this is what i want to use!!!

but it occurs just one error like below

Error 5 The server tag is not well formed.
C:\Project2005\WebSite\ks\Book\Book.ascx 74

how can i have to do?


Nov 24 '05 #3
Sorry, what a pain :)

This worked for me:

<asp:ImageButton id="x" OnClientClick=<%# "menu('" + Eval("TableId") +
"');return false;"%> />

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"mike" <so**********@gmail.com> wrote in message
news:O9**************@tk2msftngp13.phx.gbl...
Thank you Karl

but it's not working .....the same reason before
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Os**************@TK2MSFTNGP12.phx.gbl...
I ignore those messages when possible (which you can probably safely do in
this case).

to fix it though, you should try:

OnClientClick='<%# "menu('" + Eval("TableId") + "'); return"%>'

karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"mike" <so**********@gmail.com> wrote in message
news:u3**************@TK2MSFTNGP11.phx.gbl...
<asp:ImageButton ID="ImageButton2" runat="server"
OnClientClick="javascript:menu('<%# Eval("TableId")');return
false;" />
this is what i want to use!!!

but it occurs just one error like below

Error 5 The server tag is not well formed.
C:\Project2005\WebSite\ks\Book\Book.ascx 74

how can i have to do?



Nov 24 '05 #4

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

Similar topics

3
by: Ken Fine | last post by:
I periodically receive a 5+ MB XML document that I hand-load into SQL Server using SQLXML running under a DTS process. Unfortunately, the document is human-created, and (very unfortunately) often...
4
by: wtsnet | last post by:
I've got a usercontrol created on the fly using XSLT: <%@ Control Language='vb' AutoEventWireup='false' Codebehind='DynamicContent.ascx.vb' Inherits='System.Web.UI.UserControl'...
3
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
2
by: Arpan | last post by:
I came across the following statement at http://windowssdk.msdn.microsoft.com/en-us/library/hdf992b8.aspx: Although an XML document is considered to be well formed if it meets all the...
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...
1
by: alien_attack | last post by:
I have the a repeater which is databound to an XmlDatasource. Inside the repeater is a Label as follows: <asp:Label ID="lbl" runat="server" Text='<%# XPath("Asset_Metadata/@Value")%>' /> ...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi,misters I'll try put an attribute runat="server" to TR in ItemTemplate of DAtalist .... <ItemTemplate> <tr id="filaListado<%# Eval("idtareasworkflow") %>"...
3
by: preeti13 | last post by:
Hi friends i am getting the error into my applictaion The server tag is not well formed.i am trying to get the eomid here is my code please help me friends. Page language="c#"...
1
by: LiveCycle | last post by:
Hi, I've got a longstanding project that's been working fine for about a year. I was working on one of the pages, a simple download page. After making a little tweak on the page, I tried to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.