In our upcoming release of the eXpressApp Framework, data validation occurs immediately after input focus changes when validation rule evaluation does not require querying additional data from the server. These rules are RuleRequiredField,RuleRegularExpression, RuleStringComparison, RuleValueComparison and RuleRange.
Since rule evaluation occurs on the client side, in-place validation does not occur when:
- the rule's target property is a collection, image or reference property;
- ParametersMode type parameter passed to the RuleRange or RuleValueComparison attribute is set to Expression;
- RuleBaseAttribute.TargetCriteria is specified.
The asterisk (*) symbol is automatically appended to an editor label when the RuleRequiredField is applied.
In-place validation engine relies on Controllers provided in our platform-specific ValidationWindowsFormsModule and ValidationAspNetModule components.
Note: The ASP.NET module was introduced in v15.2. In order to use in-place validation after upgrading your existing ASP.NET applications to v15.2, be certain to add this module from the Toolbox into the Application Designer.
=====================================
The XAF Team would love your feedback. Please tell us what you think of these new features.