/////////////Error
//////////////Solution
Because Model conflict with model
case-I > @Html.HiddenFor(Model => Model.RID_Village) CaseI
case-II > @if (Model.RID_Village > 0)
case-III > @Html.HiddenFor(model => model.StateCode) Case II
//////////////Solution
The problem was In my View
I was using somewhere Model
=> Model. Its should be model
=> model
Because Model conflict with model
case-I > @Html.HiddenFor(Model => Model.RID_Village) CaseI
case-II > @if (Model.RID_Village > 0)
case-III > @Html.HiddenFor(model => model.StateCode) Case II
No comments:
Post a Comment