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

Source Error:


Line 31:                             <label>Length</label>
Line 32:                             <span class="selectwrap">
Line 33:                                 @Html.DropDownListFor(model => model.Length, Model.LengthTypes, new { @class = "form-control chosen-select-no-search length" })
Line 34:                             </span>
Line 35:                         </div>

Source File: h:\root\home\fraps1986-003\www\3marbella-new\Views\Shared\_SearchSide.cshtml    Line: 33






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