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

Source Error:


Line 75:         </div>
Line 76:         <div class="contactformfield">
Line 77:             @Html.DropDownListFor(m => m.HowDidYouHear, Model.HowHeard, "Please Select", new { @class = "form-control" })
Line 78:         </div>
Line 79:     </div>

Source File: c:\Websites\dealerplus.co.uk-2016\Views\Partials\ContactForm.cshtml    Line: 77






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