I\'m trying to work out how to do the following: [CustomAnnotation(thisVariableShouldBeInjected)] public class MyClass
Hi we are trying to upgrade our project to work in the latest version of VS 2010 and i have encountered a problem with the old Data Annotations Modelbinder.
I have the following model and view, and I would very much like to accept date values in the format \'dd/MM/yyyy\'.However, despite using the DisplayFormat annotation, I still get a validation error u
I\'m displaying errors on my form with the use of <%= Html.ValidationSummary(\"Please review the errors below\") %>
I have a form: <StackPanel x:Name=\"LayoutRoot\"> <sdk:ValidationSummary /> <sdk:Label Target=\"{Binding ElementName=Greeting}\" />
I am validating a class with DataAnnotations utils. I have a class that has a Title property and an Item property.
I have edited the original question since the same error is occurring the difference being the implementation, I have now added Ninject to the mix.
Typical scenario, post to an action that checks ModelState.IsValid and if it is, saves to the DB. Validation rules are set as data annotations in the Model.
I\'ve been trying asp.net mvc on mono and the data annotation throws a not implemented exception, does anyone know when will Mono support this?
I\'m using the data annotations attributes for validation in my app, and I want to have a RequiredAsSet attribute, which will require either all properties decorated with the attribute to be populated