daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Sep 26th, 2016 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div asp-validation-summary="None" class="text-danger"></div>
  2. <label asp-for="Username"></label>
  3. <input asp-for="Username" class="form-control" />
  4. <span asp-validation-for="Username" class="text-danger"></span>
  5.  
  6. <label asp-for="Password"></label>
  7. <input asp-for="Password" class="form-control" />
  8. <span asp-validation-for="Password" class="text-danger"></span>
  9.    
  10. [Required(ErrorMessage = "** Localized error message **")]
  11. [Display(Name = "Username:", Prompt = "Username")]
  12. public string Username { get; set; }
  13.  
  14. [Required(ErrorMessage = "** Another localized error message **")]
  15. [DataType(DataType.Password)]
  16. [Display(Name = "Password:", Prompt = "Password")]
  17. public string Password { get; set; }
  18.    
  19. toastr.error(errorMessageOfInvalidLogin);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top