How to: Add and Configure a ValidationSummary Control
Use thecontrol to display a list of validation errors that occurred when a form was submitted. This control lists all the error messages generated by the other validation controls on the form. The ValidationSummary control obtains the error message strings from the properties of the validation controls whose tests failed.
To display a summary of error messages
Drag a ValidationSummary control to the form on which to display the error messages. Place the ValidationSummary control where you want to display the collected error messages on a target device.
In the Properties window, set theproperty to the ID of the form for which you want to summarize error messages.
Optionally, type header text to precede the error messages in theproperty.
Optionally, enter text for the back link in theproperty.
The ValidationSummary control displays this link so that users can return to the form on which the error occurred and reenter data.