I cant validate my mvc registration form,
i'm using custom validator for name like this
[Required(ErrorMessage = "Please enter name.")]
public string Name { get; set; }
i cant get any error message why?
Know the answer? Post it. Somebody with the same question will find it here.
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 9, 2017, 12:55 AM EST
Naveen BishtRank #1,462 · 1.1K reputationPosted Mar 9, 2017, 12:23 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 9, 2017, 12:42 AM EST
siva nathanRank #1,695 · 899 reputationPosted Mar 9, 2017, 12:45 AM EST
RegistrationForm
Registration
Naveen BishtRank #1,462 · 1.1K reputationPosted Mar 9, 2017, 12:54 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts