EmailAddress
MaxLength
MinLength
Range
RegularExpression
Required
StringLength
Url
To apply validation attributes, use the following code sample:
These validation attributes are provided in Microsoft's .NET System.ComponentModel.DataAnnotations Namespace.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important