The ValidationSummary only shows the errors from validators. It doesn't
appear unless at least one validator has its IsValid property set to false.
So create a custom validator whose server side evaluation function
determines these issues and sets ErrorMessage to the text that you want to
say. You can also set the IsValid and ErrorMessage properties manually after
the validation function runs, such as in response to catching an exception
or running if/else.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.