I have a .NET 2.0 class the properties of which are marked virtual.I need to use the class as a model in a MVC2 application. So, I have created a .NET 3.5 class inheriting from the .NET 2.0 class and
I\'m currently working in an MVC 2 app which has to have everything localized in n-languages (currently 2, none of them english btw). I validate my model classes with DataAnnotations but when I wanted
I\'m using Data Annotations with ASP.NET MVC 2 as demonstrated in this post: http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx
Going mad now.I have a开发者_如何学编程 MVC solution that i\'ve upgraded from MVC 1 to 2.It all works fine.... except the Validation!
Im trying to create a 开发者_C百科custom version of the RequiredAttribute to replace the built in one and I\'ve got it working for properties that have strings values, but with properties that are Dat
I want as well as Client Side Validation as Server Side Validation. I realized this as the following:
Can I use the MVC 2 DataAnnotations to specify a minimum length for a string field? Has anyone done this o开发者_如何学编程r have they created custom attributes and if so do you mind sharing the sour
I\'m moving some code from Microsoft.Practices.EnterpriseLibrary.Validation.Validators to System.ComponentModel.DataAnnotations, and have come across a more complex validator that I am having trouble
I\'m using dataannotations in an MVC2 app and am a little discouraged when trying to use RESX file resources for error messages.
I would like to create model binding functionality so a user can enter \',\' \'.\' etc for currency values which bind to a double value of my ViewModel.