Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Display(Name = "Data de Nascimento")]
- //[DataType(DataType.Date)]
- //[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
- [Required(AllowEmptyStrings = false, ErrorMessage = "Por favor, informe sua data de nascimento.")]
- public System.DateTime dtNascimento { get; set; }
- $("#dtNascimentoFuncMeusDados").removeAttr("data-val-date");
- $('#dtNascimentoFuncMeusDados').datepicker({
- weekStart: 0,
- maxViewMode: 2,
- language: "pt-BR",
- multidate: false,
- autoclose: true,
- todayHighlight: true
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement