|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Introduction to the ValidationSummary Control
Use thecontrol to present the user with a list of validation errors that occurred when a form was posted to the server. The ValidationSummary also displays a back link (whose text you can customize by setting the property) for the user to return to the form and correct the data entry.
When you add a ValidationSummary control to a container control or template, the following occurs:
The control displays two sample error messages. Actual error messages will be provided by the other validation controls in the form.
The control'sproperty is set to "error", which is the name of a predefined style in the default .