|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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? 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 Show quoteHide quote "mike" <somequest***@gmail.com> wrote in message news:u3ChI6Q8FHA.1028@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? > > > Thank you Karl
but it's not working .....the same reason before Show quoteHide quote "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:Os3RdDR8FHA.3132@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" <somequest***@gmail.com> wrote in message > news:u3ChI6Q8FHA.1028@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? >> >> >> > > Sorry, what a pain :)
This worked for me: <asp:ImageButton id="x" OnClientClick=<%# "menu('" + Eval("TableId") + "');return false;"%> /> Karl Show quoteHide quote "mike" <somequest***@gmail.com> wrote in message news:O9mcPeS8FHA.1140@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:Os3RdDR8FHA.3132@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" <somequest***@gmail.com> wrote in message >> news:u3ChI6Q8FHA.1028@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? >>> >>> >>> >> >> > >
Other interesting topics
Correct syntax for an update stored procedure
About web.config file Retreive images stored in Access database Can we search keywords in a word document? MS Forms 2.0 Combo box control Setting Profile properties for not logged in users Dynamic content problem Some questions about masterpages. ASP.NET 2.0 file upload with progress dialog VS 2005: Virtual directories |
|||||||||||||||||||||||