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

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -