Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The base class includes the field 'btnContactInfo', but its type (System.Web.UI.WebControls.Button) is not compatible with the type of control (System.Web.UI.WebControls.ImageButton).

Source Error:


Line 169:              <!--<div class="contactussubmitbtn">-->
Line 170:              <div style="float:right; position:relative; width:100%;">
Line 171:              <asp:ImageButton ID="btnContactInfo"  style="width:100%; height:40px;" OnClick="btnContactInfo_OnClick" ToolTip="Send" ImageUrl="https://www.kidstart.co.uk/resources/images/transparent.gif" ValidationGroup="SchoolInfo" CausesValidation="true" runat="server" /><!--</div>-->
Line 172:
Line 173:

Source File: /Controls/SuggestACause.ascx    Line: 171


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0