Why are my errors showing up beside my control and in the validation control summary?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By default if you have a
ValidationSummarycontrol, the error message shows in both places. If you want the error message to only show in theValidationSummary, then set theDisplayproperty in your validation control toNone.From the BaseValidator.Display Property: