May 23, 2012 Does anyone know if it's possible to manually validate an object and. Manually add the resulting error messages to the ValidationSummary. To do that, just add. I don't want to display property errors in ValidationSummary. Does not display model errors. Ask Question. How can I add an error that isn't for a property?
@sg; I think you’d need to implement a JavaScript validation function for this to work. Psp Iso Games Under 500mb. Check out the docs on CustomValidator.ClientValidationFunction; The behaviour you’re seeing is the same as if you set EnableClientScript to false on a RequiredFieldValidator, for example. Of course, the problem is this approach is designed to work with scenarios when you need server-side validation so it isn’t an ideal fit. I must admit I never use the message box option as I think users sometimes find it intrusive, so I guess that’s why it has never been a problem for me.