Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <System.Web.Services.WebMethod()> _
- Public Shared Function IsEmailAvailable(ByVal email As String) As Boolean
- Dim emailAddress As String = Membership.GetUserNameByEmail(email)
- Return (emailAddress Is Nothing)
- End Function
- If IsEmailAvailable(True) = True Then
- modalPopupEmail.Show()
- e.Cancel = True
- Else
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement