ASPxValidationSummary.ShowErrorsInEditors Property
Gets or sets whether the errors should be also displayed within the corresponding editor’s error frame on the form.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
If the ShowErrorsInEditors property is set to true
, the errors are also displayed within a specific error frame of the corresponding editor on the form.
Example
The following example demonstrates how to use the ASPxValidationSummary‘s ASPxValidationSummary.ValidationGroup property.
<dx:ASPxTextBox ID="tbEmail" runat="server" Width="200px">
<ValidationSettings ValidationGroup="TestGroup">
<RequiredField IsRequired="True" ErrorText="E-mail is required" />
<RegularExpression ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ErrorText="Invalid e-mail" />
</ValidationSettings>
</dx:ASPxTextBox>
<dx:ASPxValidationSummary ID="vsValidationSummary1" runat="server"
RenderMode="OrderedList" Width="243px" Paddings-PaddingLeft="14px"
HeaderText="Errors Summary:" ShowErrorsInEditors="True"
ValidationGroup="TestGroup">
<Paddings PaddingLeft="14px"></Paddings>
</dx:ASPxValidationSummary>
See Also