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

Source Error:


Line 35: 
Line 36:                                 <div class="col-md-10">
Line 37:                                     @Html.TextBoxFor(m => m.MobileNo, new { @class = "form-control", placeholder = "شماره موبایل مانند *********09" })
Line 38:                                 </div>@Html.LabelFor(m => m.MobileNo, new { @class = "col-md-2 control-label" })
Line 39:                             </div>

Source File: c:\wwwroot\saraghaz1\Customer\pressebnesina.com\pressebnesina.com\wwwroot\Views\Account\ForgotPassword.cshtml    Line: 37






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