CODE
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30456: 'do_nothing' is not a member of 'ASP.softpad_aspx'.
Source Error:
Line 27: </COLGROUP>
Line 28: <TR>
Line 29: <TD><asp:Button onclick="do_nothing(this)" Width="50px" id="n1" Text="1" runat="server" onmouseover="numClicked(this)" onmouseout="verify(this)"/>
Line 30: <TD><asp:Button Width="50px" id="n2" Text="2" runat="server" onmouseover="numClicked(this)" onmouseout="verify(this)"/>
Line 31: <TD><asp:Button Width="50px" id="n3" Text="3" runat="server" onmouseover="numClicked(this)" onmouseout="verify(this)"/>
Source File: C:\Inetpub\wwwroot\xxx\softpad.aspx Line: 29
ok, i have buttons, and i already associated it with onmouseover and onmouseout with javascript function. it worked.
but when i try to add onclick event with javascript function, it gives the error as above.
this code works
CODE
<asp:Button Width="50px" id="n1" Text="1" runat="server" onmouseover="numClicked(this)" onmouseout="verify(this)"/>
but this code not working
CODE
<asp:Button Width="50px" onclick="do_nothing(this)" id="n1" Text="1" runat="server" onmouseover="numClicked(this)" onmouseout="verify(this)"/>
i just want to stop the button from sending any action/executed to the server when it is clicked. is there any other way round?
This post has been edited by ayiesz: Jan 19 2006, 12:54 PM