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 'myCustomOffer', but its type (Controls__CustomOfferGenerator) is not compatible with the type of control (ASP.controls_customoffergenerator_ascx).

Source Error:


Line 40: <uc1:LifePersonsUses runat="server" ID="myLifePersonsUses" OnCanceled="myLifePersonsUses_Canceled" OnSaved="myLifePersonsUses_Saved" OnPreviewsPage="myLifePersonsUses_PreviewsPage" Visible="false" />
Line 41: <uc1:VehicleBodyOffer runat="server" ID="myVehicleBodyOffer" OnCanceled="myVehicleBodyOffer_Canceled" OnSaved="myVehicleBodyOffer_Saved" OnPreviewsPage="myVehicleBodyOffer_PreviewsPage" Visible="false" />
Line 42: <uc1:CustomOfferGenerator runat="server" ID="myCustomOffer" OnCanceled="myCustomOffer_Canceled" OnSaved="myCustomOffer_Saved" OnPreviewsPage="myCustomOffer_PreviewsPage" Visible="false" />

Source File: /Controls/Offers/OfferRegistration.ascx    Line: 42


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