EditProperties.ValidationSettings Property
Gets the editor’s validation settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ValidationSettings | A ValidationSettings object that contains validation settings. |
Remarks
Use the ValidationSettings property to access and customize the settings that relate to editor validation.
Note
The ValidationSettings property synchronizes its value with the editor’s ASPxEdit.ValidationSettings property.
<dx:GridViewDataTextColumn FieldName="CategoryName" VisibleIndex="2">
<PropertiesTextEdit>
<ClientSideEvents Validation="OnValidation" />
<ValidationSettings ErrorDisplayMode="None">
<RequiredField IsRequired="true" ErrorText="CategoryName Is Required" />
</ValidationSettings>
</PropertiesTextEdit>
</dx:GridViewDataTextColumn>
See Also