This documentation is archived and is not being maintained.

Introduction to the ValidationSummary Control

Use the ValidationSummary control to present the user with a list of errors that occurred when a form was posted to the server. The ValidationControl also displays a back link, the text of which is customizable by means of the BackLabel 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 control displays two sample error messages. Actual error messages will be provided by the other validation controls that are used in that form.
  • The control's StyleReference property is set to error, which maps to a predefined style by default.

For detailed information about properties of this control, see the Properties section of the ValidationSummary control topic.

See Also

Adding and Configuring a ValidationSummary Control | Introduction to the Validation Controls