protected void cvPassword2_ServerValidate(object sender, ServerValidateEventArgs e) { e.IsValid = txtPassword1.Text == txtPassword2.Text; }