This code in an aspx file:
<%: Html.TextBoxFor(model => model.Model) %>
Breaks the page with the following error - which I think is stupid as Model is a property of my Product Entity and relates to the Model of the product (e.g. Make, Model, Year). If I remove this model.Model reference the rest of the Product properties render as expected. I am stuck with renaming my property?
Value cannot be null or empty.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Parameter name: name
Exception Details: System.Argu
View Complete Post