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

Source Error:


Line 25:                             <div class="col-12 col-lg-6">
Line 26:                                 <label for="ContactName" style="display: none;">Contact Name</label>
Line 27:                                 @Html.TextBoxFor(m => m.ContactName, new { @class = "form-control", placeholder = "Name" })
Line 28:                                 @Html.ValidationMessageFor(model => model.ContactName, "", new { @class = "text-danger" })
Line 29:                             </div>

Source File: D:\domains\windpowerpeople.com\httpdocs\Views\Services\Callback.cshtml    Line: 27






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