Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Collapse]Data Editors
   [Expand]Product Information
   [Collapse]Common Concepts
     Binding to Data
    [Expand]Mask Editing
    [Collapse]Validation
      Validation Overview
      Validation Settings
      Validation Error Message
      Validation Summary
     [Expand]Examples
    [Expand]List Editors
     Accessibility Support
   [Expand]Editor Types
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Validation Summary

Validation summary, which is represented by the ASPxValidationSummary control, allows you to summarize validation errors from multiple controls and then displays them in a single block. This helps you to organize screen space more effectively if validation is required for several editors.

The ASPxValidationSummary editor is a panel with the displayed validation errors of the editors, whose validation group corresponds with the ASPxValidationSummary.ValidationGroup property value. If the ValidationGroup property is not specified, the editor displays validation errors of the editors with an unspecified ValidationSettings.ValidationGroup property.

The manner in which validation error texts are presented within the ASPxValidationSummary's panel can be controlled using the ASPxValidationSummary.RenderMode property. They can be displayed as a table, or as a bulleted or ordered list. Validation error texts can also serve as links, if the ASPxValidationSummary.ShowErrorAsLink property is set to true. Clicking a link in this case, moves focus to the corresponding invalid editor.

Expanded Example

The code sample below demonstrates use of the ASPxValidationSummary control. The image below shows the result.

Expanded See Also

How would you rate this topic?​​​​​​​