Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
ASP.NET Controls
Validation Controls
 Introduction to the ValidationSumma...
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
ASP.NET Mobile Web Pages 
Introduction to the ValidationSummary Control 

Use the ValidationSummary control 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 BackLabel property) for the user to return to the form and correct the data entry.

ASP.NET Validation Summary

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's StyleReference property is set to "error", which is the name of a predefined style in the default StyleSheet.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content      
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker