TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Seshu B
NA
442
146.3k
How to give validation for password in mvc
Apr 21 2017 5:36 AM
password to be 8 characters long with at least 1 special character, 1 numeral and mix of letters
what I have tried :-
[Required(ErrorMessage = "Please enter the Password")]
[DataType(DataType.Password)]
[StringLength(8, ErrorMessage = "The Password must be at least 5 - 8 characters long.", MinimumLength = 5)]
[Display(Name = "Password")]
public string Password { get; set; }
Reply
Answers (
1
)
failed to redirect to another page.
I want to add rows to child grid on a button click