10 posts tagged data-annotations

"The Id field is required" validation message on Create; Id not set to [Required]
asp.net-mvcasp.net-mvc-2data-annotations
How can I tell the Data Annotations validator to also validate complex child properties?
c#validationdata-annotations
Property-level validation errors hinder the validation of Class-level validation
asp.net-mvcvalidationasp.net-mvc-2data-annotationsasp.net-mvc-3
Custom Validation Attribute Multiple Times on same field
c#asp.net-mvc-3jquery-validatedata-annotations
DisplayFormat.DataFormatString for a phone number or social security number
asp.net-mvcformattingdata-annotationsasp.net-mvc-4
Why MVC Model Binder set required for int, long values?
asp.net-mvcasp.net-mvc-4data-annotations
Custom RegularExpressionAttribute missing data-val-regex-pattern for client-side validation
asp.net-mvc-3asp.net-mvc-4data-annotationsunobtrusive-validation
ShortName in the Display attribute (DataAnnotations)
c#asp.net-mvcasp.net-mvc-4razordata-annotations
Unit testing for Validation Attributes in c#
c#unit-testingasp.net-web-apidata-annotations
What's the difference between DataType(DataType.PhoneNumber) & PhoneAttribute
c#.netdata-annotationsvalidationattribute