Monday, March 14, 2016

.EditorFor

@Html.EditorFor(m => m.Email) instead of @Html.TextBoxFor(m => m.Email) in ASP.NET MVC's Razor trappings will not necessarily make a text type input. It will make a dropdown list for an enum or a checkbox for a Boolean, and so on. The error: Uncaught ReferenceError: ASPxClientTextBox is not defined ...at the console suggests DevExpress is screwing up and cannot make a ASPxClientTextBox for an EditorFor!

No comments:

Post a Comment