I\'m currently building the Admin back-end for a website in ASP.NET MVC.
In an ASP.NET MVC application, I\'ve started using the \'EditorFor\' helper method like so:<
In our case we had to use Html.ViewContext.ViewData.TemplateInfo.GetFullHtmlFieldName with ExpressionHelper.GetExpressionText
which in razor was used like this:
// hiddenFor was caching the value of this html input, and the value alone, nothing else on the page!
Expression> expression = (m => m.OrgApiLoginCredentials[i].OrgApiLoginId);
}