asp.net mvc - Display errors in ValidationSummary when a property isn't on the view -
in mvc, using html.validationsummary(true) on view. problem object i'm using model has several properties don't appear in view. if validation error occurs in 1 of properties, there no indication of error because validationsummary told show non-property errors. user clicks submit , taken view no indication there validation error. there way have validation summary show error if property doesn't appear in view?
i realize use html.validationmessagefor these unused properties, less ideal.
Comments
Post a Comment