Server Error in '/' Application.

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: CS1061: 'ASP.contactus_aspx' does not contain a definition for 'btnSubmit_Click' and no extension method 'btnSubmit_Click' accepting a first argument of type 'ASP.contactus_aspx' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 126:  </tr>
Line 127:  <tr>
Line 128:    <td style="padding-left:20px;"><asp:ImageButton ID="btnSubmit" runat="server" ImageUrl="/images/submit.png" onclick="btnSubmit_Click"  OnClientClick="return SubmitQuery();"/></td>
Line 129:    &nbsp;
Line 130:    <td><asp:ImageButton ID="btnReset" runat="server" ImageUrl="/images/reset.png" ValidationGroup="reset" OnClick="btnReset_Click"/></td>

Source File: c:\Inetpub\vhosts\iimcm.net\httpdocs\contactus.aspx    Line: 128






Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974