I have a simple view and viewmodel with the latter implementing IDdataErrorInfo and IValidationExceptionHandler. The view contains a combobox with its ItemsSource bound to an collection with SelectedV
I\'m working on an MVC3 application and am using data attributes for the display name fields on the screen.Below is a representative sample -
The platform is ASP.NET MVC 2. We have a user story that states: On the [view], don\'t allow a user to edit [property] unless the user is
My ViewModel: public class EditViewModel { [Required] public string CurrentPassword { get; set; } public string NewPassword { get; set; }
What are the operative differences between these two validation packages when used for ASP.NET MVC validatation? They seem to have similar objects, all the way to their object na开发者_高级运维mes. Is
I\'ve split out my domain services into a separate WCF RIA Services Class Library project. However there now seems to be a problem with using the resource strings in the client side library.
Just started on ASP.NET MVC, and I\'m开发者_如何学C having some trouble applying datannotations to a collection - I\'m either missing something basic, or going about the whole thing in the wrong way.
I have this code on an Entity created using EF 4: [MetadataType(typeof(MemberMetaData))] public partial class Member
I have a viewmodel with an Id property [Required] public int Id { get; set; } But I think this attribute is working only for string properties.
Im developing a solution in Silverlight 4 with RIA Services.I am using data annotations on my entity to describe validation.I can see these are reflected on the client side code after building.I have