Hello
On my create a user account page I have several asp.net validators (required, regular expression & compare).
These validators do not work client-side.
They only work server-side if the ASP.Net Identity validation logic fails (e.g. when the password length is less than 5 chars).
So if there is no problem with ASP.Net Identity validation logic (e.g. if the password length is ok) then the user account will be created, regardless of whether the passwords match, or if txtUserAlias is empty. This is not cool.
It appears that the asp.net validators only run after the btnRegister_Click event code has run.
Here is my mark-up:
<%@ Page Title="" Language="C#" MasterPageFile="~/Styles/Main.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Pembs1.Pages.Admin.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="c ...
Go to the complete details ...