remote validation in mvc c#

Remote Validation in Razor MVC C#


[Remote("DoesEmailExist", "Account", HttpMethod = "POST", ErrorMessage = "Your Email address was not found. Pleasse try again.")]

[Remote("DoesEmailExist", "Account", HttpMethod = "POST", ErrorMessage = "Your Email address was not found. Pleasse try again.")]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email address")]
public string EmailAddress { get; set; }

More Explain
remote validation in mvc c# remote validation in mvc c# Reviewed by Bhaumik Patel on 10:29 PM Rating: 5