Private Sub TextContactEmail_TextChanged(sender As Object, e As EventArgs) Handles TextContactEmail.TextChanged Session.Add("LastHadFocus", "TextContactEmail") If Not IsValidEmail(TextContactEmail.Text) Then lblInvalidEmailAddress2.Visible = True TextContactEmail.Text = "" Else lblInvalidEmailAddress2.Visible = False TextCompareContactEmail.Text = "" TextCompareContactEmail.Focus() End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)