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

Source Error:


Line 39:                                     <div class="form-group @(currentLang == "ar-SA" ? "iti-rtl" : "")">
Line 40:                                         @Html.TextBoxFor(x => x.objUserDetail.Phone, new { @class = "form-control", @placeholder = ResourceHelper.GetString("Mobile") + " *", @id = "Phone" })
Line 41:                                         @Html.HiddenFor(x => x.DialCode, new { @id = "FormattedNumber", Value = "+971" })
Line 42:                                     </div>
Line 43:                                     <div class="form-group">

Source File: c:\Projects\Ecoupon.V2\Areas\User\Views\Manage\ForgotEmail.cshtml    Line: 41






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