Search
Code Better
-
Recent Posts
Categories
Tag Archives: validation
Regular Expression Model Validation in DevExpress
How do you add model-level validation in DevExpress? Very simply, with an attribute; there’s a RuleRequired attribute, and a RuleRegularExpression attribute; the former guarantees null/blank values are not allowed, and the latter allows you to specify a regular expression to validate against the field value. Continue reading