Posts by Ton • 1 point
1 post
-
-1
votes2
answers90
viewsA: Validation required with if Viewmodel
Buddy, try it like this: [Display(Name = "Insc. Estadual")] [Required] public string InscricaoEstadual { get; set; } [Display(Name = "Inscrição Isento")] [Required] public bool InscricaoIsento {…
asp.net-mvcanswered Ton 1