ASPxValidationSummary Class
Represents a control that allows easy validation and display of validation errors, grouped in a single panel.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
The ASPxValidationSummary class represents an editor that allows easy validation and display of validation errors grouped in a single panel.
The editor represents a panel with the displayed validation errors of the editors, whose validation group corresponds with the ASPxValidationSummary.ValidationGroup property value. 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.
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.
Note
The ASPxValidationSummary control provides you with a comprehensive client-side functionality, implemented using JavaScript code:
- The control’s client-side equivalent is represented by the ASPxClientValidationSummary object.
- On the client side, the client object can be accessed directly by the name specified via the ASPxValidationSummary.ClientInstanceName property.
- The available client events can be accessed by using the ASPxValidationSummary.ClientSideEvents property.
The control’s client-side API is enabled if the ASPxValidationSummary.ClientInstanceName property is defined or any client event is handled.