Skip to main content

All Questions

1 vote
1 answer
1k views

How can I validate a ViewModel in jQuery Dialog?

My AddressEditViewModel has a bunch of attributes marked [Required(ErrorMessage="My Error Message Here")] and/or [DisplayName("etc")]. The DisplayName attributes work: <%: Html.LabelFor(model =>...
David Fox's user avatar
  • 10.8k